@caatinga/client 3.1.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/stellar-wallets-kit.cjs +1 -1
- package/dist/stellar-wallets-kit.js +1 -1
- package/dist/vite.cjs +5 -0
- package/dist/vite.js +5 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -178,10 +178,12 @@ Common codes include:
|
|
|
178
178
|
- `CAATINGA_XDR_RESULT_FAILED`
|
|
179
179
|
- `CAATINGA_READ_RESULT_MISSING`
|
|
180
180
|
- `CAATINGA_PLACEHOLDER_BINDING`
|
|
181
|
+
- `CAATINGA_MULTI_AUTH_REQUIRED` (multi-signer / `signAuthEntry` not supported until v1.0)
|
|
181
182
|
|
|
182
183
|
## Limitations
|
|
183
184
|
|
|
184
185
|
- this package does not replace Stellar CLI, Stellar SDK, Soroban SDK, or generated bindings
|
|
185
186
|
- manual SCVal serialization and manual XDR parsing are out of scope
|
|
186
|
-
-
|
|
187
|
+
- **browser wallet support is single-invoker only until v1.0** — multisig / `signAuthEntry` orchestration is application code (`CAATINGA_MULTI_AUTH_REQUIRED`)
|
|
188
|
+
- backend signing and non-documented wallet integrations are not part of the supported contract
|
|
187
189
|
- private module paths and undocumented helpers are less stable than the exports listed above
|
|
@@ -100,7 +100,7 @@ function createStellarWalletsKitAdapter(options = {}) {
|
|
|
100
100
|
}
|
|
101
101
|
function buildModules(walletConnectMetadata) {
|
|
102
102
|
const modules = (0, import_utils.defaultModules)({
|
|
103
|
-
filterBy: (module2) => module2.productId !== import_hotwallet.HOTWALLET_ID
|
|
103
|
+
filterBy: (module2) => module2.productId !== import_hotwallet.HOTWALLET_ID && module2.productId !== "TREZOR"
|
|
104
104
|
});
|
|
105
105
|
if (walletConnectMetadata) {
|
|
106
106
|
const { projectId, name, description, url, icons } = walletConnectMetadata;
|
|
@@ -75,7 +75,7 @@ function createStellarWalletsKitAdapter(options = {}) {
|
|
|
75
75
|
}
|
|
76
76
|
function buildModules(walletConnectMetadata) {
|
|
77
77
|
const modules = defaultModules({
|
|
78
|
-
filterBy: (module) => module.productId !== HOTWALLET_ID
|
|
78
|
+
filterBy: (module) => module.productId !== HOTWALLET_ID && module.productId !== "TREZOR"
|
|
79
79
|
});
|
|
80
80
|
if (walletConnectMetadata) {
|
|
81
81
|
const { projectId, name, description, url, icons } = walletConnectMetadata;
|
package/dist/vite.cjs
CHANGED
|
@@ -42,6 +42,10 @@ function walletStubOverrides(stubsDir = "./src/stubs") {
|
|
|
42
42
|
const posixStubsDir = stubsDir.split(import_node_path.default.sep).join("/");
|
|
43
43
|
return {
|
|
44
44
|
uuid: "^14.0.0",
|
|
45
|
+
ws: "^8.21.0",
|
|
46
|
+
"@trezor/connect-web": `file:${posixStubsDir}/empty-wallet-dep`,
|
|
47
|
+
"@trezor/connect-plugin-stellar": `file:${posixStubsDir}/empty-wallet-dep`,
|
|
48
|
+
"@hot-wallet/sdk": `file:${posixStubsDir}/hot-wallet-sdk`,
|
|
45
49
|
"@creit.tech/stellar-wallets-kit": {
|
|
46
50
|
"@trezor/connect-web": `file:${posixStubsDir}/empty-wallet-dep`,
|
|
47
51
|
"@trezor/connect-plugin-stellar": `file:${posixStubsDir}/empty-wallet-dep`,
|
|
@@ -77,6 +81,7 @@ ignoredOptionalDependencies:
|
|
|
77
81
|
|
|
78
82
|
overrides:
|
|
79
83
|
uuid: "^14.0.0"
|
|
84
|
+
ws: "^8.21.0"
|
|
80
85
|
"@creit.tech/stellar-wallets-kit>@trezor/connect-web": "-"
|
|
81
86
|
"@creit.tech/stellar-wallets-kit>@trezor/connect-plugin-stellar": "-"
|
|
82
87
|
"@creit.tech/stellar-wallets-kit>@hot-wallet/sdk": "-"
|
package/dist/vite.js
CHANGED
|
@@ -4,6 +4,10 @@ function walletStubOverrides(stubsDir = "./src/stubs") {
|
|
|
4
4
|
const posixStubsDir = stubsDir.split(path.sep).join("/");
|
|
5
5
|
return {
|
|
6
6
|
uuid: "^14.0.0",
|
|
7
|
+
ws: "^8.21.0",
|
|
8
|
+
"@trezor/connect-web": `file:${posixStubsDir}/empty-wallet-dep`,
|
|
9
|
+
"@trezor/connect-plugin-stellar": `file:${posixStubsDir}/empty-wallet-dep`,
|
|
10
|
+
"@hot-wallet/sdk": `file:${posixStubsDir}/hot-wallet-sdk`,
|
|
7
11
|
"@creit.tech/stellar-wallets-kit": {
|
|
8
12
|
"@trezor/connect-web": `file:${posixStubsDir}/empty-wallet-dep`,
|
|
9
13
|
"@trezor/connect-plugin-stellar": `file:${posixStubsDir}/empty-wallet-dep`,
|
|
@@ -39,6 +43,7 @@ ignoredOptionalDependencies:
|
|
|
39
43
|
|
|
40
44
|
overrides:
|
|
41
45
|
uuid: "^14.0.0"
|
|
46
|
+
ws: "^8.21.0"
|
|
42
47
|
"@creit.tech/stellar-wallets-kit>@trezor/connect-web": "-"
|
|
43
48
|
"@creit.tech/stellar-wallets-kit>@trezor/connect-plugin-stellar": "-"
|
|
44
49
|
"@creit.tech/stellar-wallets-kit>@hot-wallet/sdk": "-"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caatinga/client",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Browser and Node client for Soroban smart contracts — connects generated bindings, Caatinga artifacts, and wallet adapters",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stellar",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"LICENSE"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@caatinga/core": "^3.
|
|
64
|
+
"@caatinga/core": "^3.2.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"tsup": "^8.3.5",
|