@waaskey/sdk 0.0.1 → 0.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/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@waaskey/sdk",
3
- "version": "0.0.1",
4
- "description": "Waaskey — embedded, non-custodial MPC wallets for your app. Official TypeScript SDK.",
3
+ "version": "0.2.0",
4
+ "description": "WAASKey — embedded, non-custodial MPC wallets for your app. Official TypeScript SDK.",
5
5
  "license": "MIT",
6
6
  "author": "Waaskey",
7
7
  "homepage": "https://waaskey.com",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "git+https://github.com/Next-Vector/waas-sdk.git"
10
+ "url": "git+https://github.com/Next-Vector/waas-sdk.git",
11
+ "directory": "packages/sdk"
11
12
  },
12
13
  "bugs": {
13
14
  "url": "https://github.com/Next-Vector/waas-sdk/issues"
@@ -41,30 +42,36 @@
41
42
  "engines": {
42
43
  "node": ">=22"
43
44
  },
44
- "packageManager": "pnpm@10.28.2",
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
+ "dependencies": {
49
+ "@noble/curves": "^2.2.0"
50
+ },
51
+ "devDependencies": {
52
+ "@simplewebauthn/browser": "^13.3.0",
53
+ "@types/node": "^26.1.1",
54
+ "tsup": "^8.5.1",
55
+ "typescript": "^6.0.3",
56
+ "vitest": "^4.1.10"
57
+ },
58
+ "peerDependencies": {
59
+ "@simplewebauthn/browser": "^13.0.0",
60
+ "@waaskey/client-wasm": "0.2.1"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "@simplewebauthn/browser": {
64
+ "optional": true
65
+ },
66
+ "@waaskey/client-wasm": {
67
+ "optional": true
68
+ }
69
+ },
70
+ "//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.",
48
71
  "scripts": {
49
72
  "build": "tsup",
50
73
  "start": "tsup --watch",
51
74
  "types": "tsc --noEmit",
52
- "lint": "eslint .",
53
- "lint:fix": "eslint . --fix",
54
- "format": "prettier . --write",
55
- "format:check": "prettier . --check",
56
- "test:unit": "vitest run",
57
- "prepublishOnly": "pnpm build"
58
- },
59
- "devDependencies": {
60
- "@eslint/js": "^10.0.1",
61
- "@types/node": "^22.10.0",
62
- "eslint": "^10.5.0",
63
- "eslint-config-prettier": "^10.1.8",
64
- "prettier": "^3.8.4",
65
- "tsup": "^8.5.1",
66
- "typescript": "^5.9.3",
67
- "typescript-eslint": "^8.61.1",
68
- "vitest": "^4.1.9"
75
+ "test:unit": "vitest run"
69
76
  }
70
- }
77
+ }