Skip to content

Commit

Permalink
chore: bump cainome rev
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm authored and tarrencev committed Jun 12, 2024
1 parent 8fbeb28 commit 38b3eca
Show file tree
Hide file tree
Showing 22 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[workspace]
resolver = "2"
members = ["packages/account_sdk", "packages/account_wasm"]
members = ["packages/account_sdk", "packages/account-wasm"]

[workspace.package]
edition = "2021"
version = "0.1.0"

[workspace.dependencies]
account_sdk = { path = "packages/account_sdk" }
account_wasm = { path = "packages/account_wasm" }
account-wasm = { path = "packages/account-wasm" }

anyhow = "1"
async-trait = "0.1"
base64 = "0.21"
cainome = { git = "https://github.com/cartridge-gg/cainome", rev = "b5c728a" }
cainome = { git = "https://github.com/cartridge-gg/cainome", rev = "a84dfe0f" }
cairo-lang-starknet = "2.4.0"
coset = { version = "0.3.4", features = ["std"] }
ecdsa = "0.16.9"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ It supports transaction signing using Passkeys and Session Tokens.
The project consists of several subfolders located in the ```packages``` directory:

- **[account_sdk](packages/controller)** - a rust sdk for interacting interacting with the controller account contract.
- **[account_wasm](packages/controller)** - a wasm version of the rust account sdk for usage in the browser.
- **[account-wasm](packages/controller)** - a wasm version of the rust account sdk for usage in the browser.
- **[contracts](packages/controller)** - a cairo project containing the controller account contract, signer, and session implementations.
- **[keychain](packages/controller)** - a sandboxed application hosted at https://x.cartridge.gg/ and responsible for sensitive operations, such as signing transactions. When an application requests to sign or execute a transaction, keychain enforces client side authorization logic and displays UI for user approval if necessary.
- **[controller](packages/controller)** sdk. Controller implements the account interfaces required by [starknet.js](https://github.com/0xs34n/starknet.js). Underneath, the implementation communicates with an embedded sandboxed keychain iframe.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"keychain": "pnpm --filter @cartridge/keychain",
"controller": "pnpm --filter @cartridge/controller",
"connector": "pnpm --filter @cartridge/connector",
"account_wasm": "pnpm --filter @cartridge/account_wasm",
"account-wasm": "pnpm --filter @cartridge/account-wasm",
"book": "pnpm --filter @cartridge/docs",
"ui": "pnpm --filter @cartridge/ui",
"ui:next": "pnpm --filter @cartridge/ui-next",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
edition.workspace = true
name = "account_wasm"
name = "account-wasm"
version.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@cartridge/account_wasm",
"name": "@cartridge/account-wasm",
"version": "0.3.26",
"description": "Wasm bindings for Cartridge Account",
"main": "./pkg/account_wasm.js",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_38(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h48ddaae0efb24961(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf0f5cf13d081514f(arg0, arg1, addHeapObject(arg2));
}

let cachedUint32Memory0 = null;
Expand Down Expand Up @@ -270,7 +270,7 @@ function handleError(f, args) {
}
}
function __wbg_adapter_152(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h8496ed3272017b5c(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
wasm.wasm_bindgen__convert__closures__invoke2_mut__hc994a4c6af3638a9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

const CartridgeAccountFinalization = (typeof FinalizationRegistry === 'undefined')
Expand Down Expand Up @@ -919,8 +919,8 @@ export function __wbindgen_memory() {
return addHeapObject(ret);
};

export function __wbindgen_closure_wrapper1117(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 395, __wbg_adapter_38);
export function __wbindgen_closure_wrapper1115(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 394, __wbg_adapter_38);
return addHeapObject(ret);
};

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export function cartridgeaccount_signMessage(a: number, b: number): void;
export function __wbindgen_malloc(a: number, b: number): number;
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h48ddaae0efb24961(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf0f5cf13d081514f(a: number, b: number, c: number): void;
export function __wbindgen_add_to_stack_pointer(a: number): number;
export function __wbindgen_free(a: number, b: number, c: number): void;
export function __wbindgen_exn_store(a: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h8496ed3272017b5c(a: number, b: number, c: number, d: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__hc994a4c6af3638a9(a: number, b: number, c: number, d: number): void;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "account_wasm",
"name": "account-wasm",
"version": "0.1.0",
"files": [
"account_wasm_bg.wasm",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/keychain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"gen": "graphql-codegen --config codegen.yaml"
},
"dependencies": {
"@cartridge/account_wasm": "workspace:^",
"@cartridge/account-wasm": "workspace:^",
"@cartridge/controller": "workspace:^",
"@cartridge/penpal": "^6.2.3",
"@cartridge/ui": "workspace:^",
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

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

0 comments on commit 38b3eca

Please sign in to comment.