Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kalepail committed Jul 9, 2024
1 parent 5af5c24 commit 4d33bae
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 22 deletions.
4 changes: 2 additions & 2 deletions contracts/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions contracts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
export SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
export SOROBAN_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
export SOROBAN_ACCOUNT=default
export WEBAUTHN_FACTORY=CB2L37OEFNW4ZUPGISREQJBEBEQRNHGBMPD2G6UUDXEXEQJXS5JBSBO2
export WEBAUTHN_WASM=bd9894429318e74c773fa613caed390e130b44d93796b63ecec022ed3419fd3c
export WEBAUTHN_FACTORY=CCPLERXCJZB7LX2VOSOCBNRN754FRLHI6Y2AVOQBA5L7C2ZJX5RFVVET
export WEBAUTHN_WASM=f5a06865c6ac90cd11c2f416fdad568da8350e0a7119fdb315595da5e8f9f230

build:
rm -rf out/
Expand Down
2 changes: 1 addition & 1 deletion contracts/contract-webauthn-factory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "webauthn-factory"
version = "0.3.0"
version = "0.3.1"
authors = ["Stellar Development Foundation <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion contracts/contract-webauthn-secp256r1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "webauthn-secp256r1"
version = "0.3.0"
version = "0.3.1"
authors = ["Stellar Development Foundation <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "passkey-kit",
"version": "0.4.0",
"version": "0.4.1",
"description": "A helper library for creating and using passkey accounts on the Stellar blockchain.",
"author": "Tyler van der Hoeven",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/passkey-factory-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.0",
"version": "0.2.1",
"name": "passkey-factory-sdk",
"type": "module",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/passkey-factory-sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (typeof window !== 'undefined') {
export const networks = {
testnet: {
networkPassphrase: "Test SDF Network ; September 2015",
contractId: "CCNG4UOYRSULIMD2AVF5LWAQRM3XY4L3HQSARBLQ5A7HQBRLDVFUTZ7X",
contractId: "CCPLERXCJZB7LX2VOSOCBNRN754FRLHI6Y2AVOQBA5L7C2ZJX5RFVVET",
}
} as const

Expand Down
2 changes: 1 addition & 1 deletion packages/passkey-kit-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.0",
"version": "0.2.1",
"name": "passkey-kit-sdk",
"type": "module",
"main": "src/index.ts",
Expand Down
23 changes: 11 additions & 12 deletions packages/passkey-kit-sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,18 @@ if (typeof window !== 'undefined') {
export const networks = {
testnet: {
networkPassphrase: "Test SDF Network ; September 2015",
contractId: "CCNG4UOYRSULIMD2AVF5LWAQRM3XY4L3HQSARBLQ5A7HQBRLDVFUTZ7X",
contractId: "CCPLERXCJZB7LX2VOSOCBNRN754FRLHI6Y2AVOQBA5L7C2ZJX5RFVVET",
}
} as const

export const Errors = {
1: { message: "NotFound" },
2: { message: "NotPermitted" },
3: { message: "AlreadyInitialized" },
4: { message: "ClientDataJsonChallengeIncorrect" },
5: { message: "Secp256r1PublicKeyParse" },
6: { message: "Secp256r1SignatureParse" },
7: { message: "Secp256r1VerifyFailed" },
8: { message: "JsonParseError" }
3: { message: "ClientDataJsonChallengeIncorrect" },
4: { message: "Secp256r1PublicKeyParse" },
5: { message: "Secp256r1SignatureParse" },
6: { message: "Secp256r1VerifyFailed" },
7: { message: "JsonParseError" }
}

export interface Signature {
Expand Down Expand Up @@ -79,9 +78,9 @@ export interface Client {
}) => Promise<AssembledTransaction<Result<void>>>

/**
* Construct and simulate a upgrade transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
* Construct and simulate a update transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
*/
upgrade: ({ hash }: { hash: Buffer }, options?: {
update: ({ hash }: { hash: Buffer }, options?: {
/**
* The fee to pay for the transaction. Default: BASE_FEE
*/
Expand All @@ -101,10 +100,10 @@ export interface Client {
export class Client extends ContractClient {
constructor(public readonly options: ContractClientOptions) {
super(
new ContractSpec(["AAAABAAAAAAAAAAAAAAABUVycm9yAAAAAAAACAAAAAAAAAAITm90Rm91bmQAAAABAAAAAAAAAAxOb3RQZXJtaXR0ZWQAAAACAAAAAAAAABJBbHJlYWR5SW5pdGlhbGl6ZWQAAAAAAAMAAAAAAAAAIENsaWVudERhdGFKc29uQ2hhbGxlbmdlSW5jb3JyZWN0AAAABAAAAAAAAAAXU2VjcDI1NnIxUHVibGljS2V5UGFyc2UAAAAABQAAAAAAAAAXU2VjcDI1NnIxU2lnbmF0dXJlUGFyc2UAAAAABgAAAAAAAAAVU2VjcDI1NnIxVmVyaWZ5RmFpbGVkAAAAAAAABwAAAAAAAAAOSnNvblBhcnNlRXJyb3IAAAAAAAg=",
new ContractSpec(["AAAABAAAAAAAAAAAAAAABUVycm9yAAAAAAAABwAAAAAAAAAITm90Rm91bmQAAAABAAAAAAAAAAxOb3RQZXJtaXR0ZWQAAAACAAAAAAAAACBDbGllbnREYXRhSnNvbkNoYWxsZW5nZUluY29ycmVjdAAAAAMAAAAAAAAAF1NlY3AyNTZyMVB1YmxpY0tleVBhcnNlAAAAAAQAAAAAAAAAF1NlY3AyNTZyMVNpZ25hdHVyZVBhcnNlAAAAAAUAAAAAAAAAFVNlY3AyNTZyMVZlcmlmeUZhaWxlZAAAAAAAAAYAAAAAAAAADkpzb25QYXJzZUVycm9yAAAAAAAH",
"AAAAAAAAAAAAAAADYWRkAAAAAAMAAAAAAAAAAmlkAAAAAAAOAAAAAAAAAAJwawAAAAAD7gAAAEEAAAAAAAAABWFkbWluAAAAAAAAAQAAAAEAAAPpAAAD7QAAAAAAAAAD",
"AAAAAAAAAAAAAAAGcmVtb3ZlAAAAAAABAAAAAAAAAAJpZAAAAAAADgAAAAEAAAPpAAAD7QAAAAAAAAAD",
"AAAAAAAAAAAAAAAHdXBncmFkZQAAAAABAAAAAAAAAARoYXNoAAAD7gAAACAAAAABAAAD6QAAA+0AAAAAAAAAAw==",
"AAAAAAAAAAAAAAAGdXBkYXRlAAAAAAABAAAAAAAAAARoYXNoAAAD7gAAACAAAAABAAAD6QAAA+0AAAAAAAAAAw==",
"AAAAAQAAAAAAAAAAAAAACVNpZ25hdHVyZQAAAAAAAAQAAAAAAAAAEmF1dGhlbnRpY2F0b3JfZGF0YQAAAAAADgAAAAAAAAAQY2xpZW50X2RhdGFfanNvbgAAAA4AAAAAAAAAAmlkAAAAAAAOAAAAAAAAAAlzaWduYXR1cmUAAAAAAAPuAAAAQA==",
"AAAAAAAAAAAAAAAMX19jaGVja19hdXRoAAAAAwAAAAAAAAARc2lnbmF0dXJlX3BheWxvYWQAAAAAAAPuAAAAIAAAAAAAAAAJc2lnbmF0dXJlAAAAAAAH0AAAAAlTaWduYXR1cmUAAAAAAAAAAAAADWF1dGhfY29udGV4dHMAAAAAAAPqAAAH0AAAAAdDb250ZXh0AAAAAAEAAAPpAAAD7QAAAAAAAAAD"]),
options
Expand All @@ -113,6 +112,6 @@ export class Client extends ContractClient {
public readonly fromJSON = {
add: this.txFromJSON<Result<void>>,
remove: this.txFromJSON<Result<void>>,
upgrade: this.txFromJSON<Result<void>>
update: this.txFromJSON<Result<void>>
}
}

0 comments on commit 4d33bae

Please sign in to comment.