emblem-vault-ai-signers 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/dist/http.js +1 -1
  2. package/package.json +4 -2
package/dist/http.js CHANGED
@@ -5,7 +5,7 @@ export async function emblemPost(path, body, { apiKey, baseUrl = "https://api.em
5
5
  "content-type": "application/json",
6
6
  "x-api-key": apiKey,
7
7
  },
8
- body: JSON.stringify(body),
8
+ body: JSON.stringify(body, (key, value) => typeof value === "bigint" ? value.toString() : value),
9
9
  });
10
10
  if (!res.ok) {
11
11
  const text = await res.text().catch(() => "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emblem-vault-ai-signers",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Emblem Vault remote signer adapters for viem and ethers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,7 +23,9 @@
23
23
  "test": "vitest run --reporter=verbose",
24
24
  "test:watch": "vitest --reporter=verbose",
25
25
  "test:ci": "vitest run --reporter=default",
26
- "test:integration": "vitest -c vitest.int.config.ts run --reporter=verbose"
26
+ "test:integration": "vitest -c vitest.int.config.ts run --reporter=verbose",
27
+ "test:all": "npm test && npm run test:integration",
28
+ "release:patch": "npm version patch && npm run build && npm run test:all && npm publish"
27
29
  },
28
30
  "keywords": [
29
31
  "emblem",