@defuse-protocol/intents-sdk 0.32.2 → 0.32.3
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.
|
@@ -37,7 +37,7 @@ async function computeIntentHashHashBytes(signed) {
|
|
|
37
37
|
case "webauthn": return require_webauthn.computeSignedWebAuthnHash(signed);
|
|
38
38
|
case "ton_connect": return require_ton_connect.computeSignedTonConnectHash(signed);
|
|
39
39
|
case "sep53": return require_sep53.computeSignedSep53Hash(signed);
|
|
40
|
-
default: throw new Error(`Unknown payload standard: ${
|
|
40
|
+
default: throw new Error(`Unknown payload standard: ${standard}`);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
async function computeIntentHash(multiPayload) {
|
|
@@ -35,7 +35,7 @@ async function computeIntentHashHashBytes(signed) {
|
|
|
35
35
|
case "webauthn": return computeSignedWebAuthnHash(signed);
|
|
36
36
|
case "ton_connect": return computeSignedTonConnectHash(signed);
|
|
37
37
|
case "sep53": return computeSignedSep53Hash(signed);
|
|
38
|
-
default: throw new Error(`Unknown payload standard: ${
|
|
38
|
+
default: throw new Error(`Unknown payload standard: ${standard}`);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
async function computeIntentHash(multiPayload) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defuse-protocol/intents-sdk",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"ripple-address-codec": "^5.0.0",
|
|
39
39
|
"valibot": "^1.0.0",
|
|
40
40
|
"viem": "^2.0.0",
|
|
41
|
-
"@defuse-protocol/contract-types": "0.3.
|
|
42
|
-
"@defuse-protocol/internal-utils": "0.19.
|
|
41
|
+
"@defuse-protocol/contract-types": "0.3.1",
|
|
42
|
+
"@defuse-protocol/internal-utils": "0.19.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"tsdown": "0.15.5",
|