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 2963aa5 commit f458461
Show file tree
Hide file tree
Showing 22 changed files with 20 additions and 1,031 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,22 +1,22 @@
{
"name": "@cartridge/account_wasm",
"name": "@cartridge/account-wasm",
"version": "0.3.26",
"description": "Wasm bindings for Cartridge Account",
"main": "./pkg/account_wasm.js",
"main": "./pkg/account-wasm.js",
"type": "module",
"scripts": {
"build-wasm": "./build.sh"
},
"files": [
"./pkg/account_wasm_bg.wasm",
"./pkg/account_wasm.js",
"./pkg/account_wasm_bg.js",
"./pkg/account_wasm.d.ts"
"./pkg/account-wasm_bg.wasm",
"./pkg/account-wasm.js",
"./pkg/account-wasm_bg.js",
"./pkg/account-wasm.d.ts"
],
"module": "./pkg/account_wasm.js",
"types": "./pkg/account_wasm.d.ts",
"module": "./pkg/account-wasm.js",
"types": "./pkg/account-wasm.d.ts",
"sideEffects": [
"./pkg/account_wasm.js",
"./pkg/account-wasm.js",
"./pkg/snippets/*"
],
"devDependencies": {
Expand All @@ -25,4 +25,4 @@
"typescript": "^5.0.3",
"wasm-pack": "^0.12.1"
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
48 changes: 0 additions & 48 deletions packages/account_wasm/pkg/account_wasm.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/account_wasm/pkg/account_wasm.js

This file was deleted.

Loading

0 comments on commit f458461

Please sign in to comment.