@waaskey/sdk 0.3.1 → 0.3.2

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/dist/node.d.ts CHANGED
@@ -80,7 +80,11 @@ interface DeviceSignParams extends CeremonyParams {
80
80
  }
81
81
  /** Result of the device half of sign. */
82
82
  interface DeviceSignResult {
83
- /** The cggmp24 signature (JSON). */
83
+ /**
84
+ * The signature as LOW-S–normalized compact `r ‖ s` hex (128 chars, no `0x`) — byte-identical to
85
+ * what the platform's own party produces, so the backend can cross-check the two before embedding
86
+ * one into a transaction, and chain adapters can slice `r`/`s` by offset.
87
+ */
84
88
  signature: string;
85
89
  }
86
90
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waaskey/sdk",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "WAASKey — embedded, non-custodial MPC wallets for your app. Official TypeScript SDK.",
5
5
  "license": "MIT",
6
6
  "author": "Waaskey",
@@ -63,7 +63,7 @@
63
63
  },
64
64
  "peerDependencies": {
65
65
  "@simplewebauthn/browser": "^13.0.0",
66
- "@waaskey/client-wasm": "0.2.1"
66
+ "@waaskey/client-wasm": "0.2.2"
67
67
  },
68
68
  "peerDependenciesMeta": {
69
69
  "@simplewebauthn/browser": {
@@ -73,7 +73,7 @@
73
73
  "optional": true
74
74
  }
75
75
  },
76
- "//peerDependencies-note": "@waaskey/client-wasm (the wasm MPC engine) is loaded via an indirect dynamic import (see mpc/load-wasm.ts) and pinned to the EXACT version in CLIENT_WASM_VERSION — never a floating range (issue #40). The SDK now requires 0.2.0, which adds the ed25519 (FROST) keygenEddsa/signEddsa exports (waas-core #110) the ed25519 wallet path drives. Add it here as an exact, OPTIONAL peerDependency (\"@waaskey/client-wasm\": \"0.2.0\" + peerDependenciesMeta.optional) ONLY AFTER 0.2.0 is published pnpm resolves even optional peers, so declaring an unpublished version 404s `pnpm install`. Publish it via waas-core's `Publish @waaskey/client-wasm` workflow (bump the client-wasm Cargo version to 0.2.0, push a `client-wasm-v0.2.0` tag), then add the entry + refresh the lockfile.",
76
+ "//peerDependencies-note": "@waaskey/client-wasm (the wasm MPC engine) is loaded via an indirect dynamic import (see mpc/load-wasm.ts) and pinned to the EXACT version in CLIENT_WASM_VERSION — never a floating range (issue #40). The SDK requires 0.2.2, which awaits the relay close (an unpolled close left the party's role registered, so a sign right after keygen was rejected) and emits signatures as low-s normalized compact r‖s hex the wire form the platform party produces and the chain adapters slice by offset. Bump BOTH this pin and CLIENT_WASM_VERSION together, and only AFTER the new client-wasm is on npm: pnpm resolves optional peers, so an unpublished pin 404s `pnpm install`. Publish it from waas-core by bumping client-wasm/Cargo.toml and pushing a `client-wasm-v<version>` tag.",
77
77
  "scripts": {
78
78
  "build": "tsup",
79
79
  "start": "tsup --watch",