@privy-io/js-sdk-core 0.22.0 → 0.22.1-beta-20240607145728

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/index.js CHANGED
@@ -2063,7 +2063,8 @@ const $e2cd667b45950d1e$var$SUPPORTED_IFRAME_JSON_RPC_METHODS = [
2063
2063
  "eth_sign",
2064
2064
  "eth_signTransaction",
2065
2065
  "personal_sign",
2066
- "eth_signTypedData_v4"
2066
+ "eth_signTypedData_v4",
2067
+ "csw_signUserOperation"
2067
2068
  ];
2068
2069
  const $e2cd667b45950d1e$export$1302a7f662bde246 = (method)=>{
2069
2070
  return $e2cd667b45950d1e$var$SUPPORTED_IFRAME_JSON_RPC_METHODS.includes(method);
@@ -3038,7 +3039,7 @@ class $99761f88b99b6cb6$export$2e2bcd8739ae039 {
3038
3039
 
3039
3040
 
3040
3041
  var $af98a8a573bb7c25$exports = {};
3041
- $af98a8a573bb7c25$exports = JSON.parse('{"name":"@privy-io/js-sdk-core","version":"0.22.0","description":"Vanilla JS client for the Privy Auth API","keywords":["authentication","authorization","identity","privacy","privy","user data","web3"],"license":"Apache-2.0","source":"./src/index.ts","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"targets":{"main":{"isLibrary":true,"sourceMap":false},"module":{"isLibrary":true,"sourceMap":false}},"files":["dist/**/*","LICENSE","README.md"],"scripts":{"build":"npx parcel build --no-cache","clean":"rm -rf dist .turbo","dev":"npx parcel watch -p 1234","test":"jest --testMatch \\"**/test/**/*.test.ts\\"","test:watch":"npm run test -- --watch","test:ci":"npm run test","lint":"eslint \\"src/**/*.{ts,tsx,js,jsx}\\" && npx tsc --noEmit","format":"eslint \\"src/**/*.{ts,tsx,js,jsx}\\" --fix"},"devDependencies":{"@privy-io/parcel-config":"*","@privy-io/tsconfig":"*","@simplewebauthn/types":"9.0.1","@tsconfig/node16-strictest-esm":"^1.0.3","@types/jest":"^29.5.11","@types/set-cookie-parser":"^2.4.7","@types/text-encoding":"^0.0.37","msw":"^2.0.13","text-encoding":"^0.7.0","ts-jest":"^29.1.1"},"dependencies":{"@ethersproject/abstract-signer":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/providers":"^5.7.2","@ethersproject/units":"^5.7.0","@privy-io/api-base":"^1.1.1","@privy-io/public-api":"2.4.3","eventemitter3":"^5.0.1","fetch-retry":"^5.0.6","jose":"^4.15.5","js-cookie":"^3.0.5","set-cookie-parser":"^2.6.0","uuid":">=8 <10"},"author":"privy.io","browserslist":["defaults","node >= 18","not op_mini all"],"publishConfig":{"access":"public"}}');
3042
+ $af98a8a573bb7c25$exports = JSON.parse('{"name":"@privy-io/js-sdk-core","version":"0.22.1-beta-20240607145728","description":"Vanilla JS client for the Privy Auth API","keywords":["authentication","authorization","identity","privacy","privy","user data","web3"],"license":"Apache-2.0","source":"./src/index.ts","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"targets":{"main":{"isLibrary":true,"sourceMap":false},"module":{"isLibrary":true,"sourceMap":false}},"files":["dist/**/*","LICENSE","README.md"],"scripts":{"build":"npx parcel build --no-cache","clean":"rm -rf dist .turbo","dev":"npx parcel watch -p 1234","test":"jest --testMatch \\"**/test/**/*.test.ts\\"","test:watch":"npm run test -- --watch","test:ci":"npm run test","lint":"eslint \\"src/**/*.{ts,tsx,js,jsx}\\" && npx tsc --noEmit","format":"eslint \\"src/**/*.{ts,tsx,js,jsx}\\" --fix"},"devDependencies":{"@privy-io/parcel-config":"*","@privy-io/tsconfig":"*","@simplewebauthn/types":"9.0.1","@tsconfig/node16-strictest-esm":"^1.0.3","@types/jest":"^29.5.11","@types/set-cookie-parser":"^2.4.7","@types/text-encoding":"^0.0.37","msw":"^2.0.13","text-encoding":"^0.7.0","ts-jest":"^29.1.1"},"dependencies":{"@ethersproject/abstract-signer":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/providers":"^5.7.2","@ethersproject/units":"^5.7.0","@privy-io/api-base":"^1.1.1","@privy-io/public-api":"2.4.3","eventemitter3":"^5.0.1","fetch-retry":"^5.0.6","jose":"^4.15.5","js-cookie":"^3.0.5","set-cookie-parser":"^2.6.0","uuid":">=8 <10"},"author":"privy.io","browserslist":["defaults","node >= 18","not op_mini all"],"publishConfig":{"access":"public"}}');
3042
3043
 
3043
3044
 
3044
3045
 
package/dist/index.mjs CHANGED
@@ -2025,7 +2025,8 @@ const $901e2e50c31dd0af$var$SUPPORTED_IFRAME_JSON_RPC_METHODS = [
2025
2025
  "eth_sign",
2026
2026
  "eth_signTransaction",
2027
2027
  "personal_sign",
2028
- "eth_signTypedData_v4"
2028
+ "eth_signTypedData_v4",
2029
+ "csw_signUserOperation"
2029
2030
  ];
2030
2031
  const $901e2e50c31dd0af$export$1302a7f662bde246 = (method)=>{
2031
2032
  return $901e2e50c31dd0af$var$SUPPORTED_IFRAME_JSON_RPC_METHODS.includes(method);
@@ -3000,7 +3001,7 @@ class $a3295537bbaaa670$export$2e2bcd8739ae039 {
3000
3001
 
3001
3002
 
3002
3003
  var $53a9b3651331d972$exports = {};
3003
- $53a9b3651331d972$exports = JSON.parse('{"name":"@privy-io/js-sdk-core","version":"0.22.0","description":"Vanilla JS client for the Privy Auth API","keywords":["authentication","authorization","identity","privacy","privy","user data","web3"],"license":"Apache-2.0","source":"./src/index.ts","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"targets":{"main":{"isLibrary":true,"sourceMap":false},"module":{"isLibrary":true,"sourceMap":false}},"files":["dist/**/*","LICENSE","README.md"],"scripts":{"build":"npx parcel build --no-cache","clean":"rm -rf dist .turbo","dev":"npx parcel watch -p 1234","test":"jest --testMatch \\"**/test/**/*.test.ts\\"","test:watch":"npm run test -- --watch","test:ci":"npm run test","lint":"eslint \\"src/**/*.{ts,tsx,js,jsx}\\" && npx tsc --noEmit","format":"eslint \\"src/**/*.{ts,tsx,js,jsx}\\" --fix"},"devDependencies":{"@privy-io/parcel-config":"*","@privy-io/tsconfig":"*","@simplewebauthn/types":"9.0.1","@tsconfig/node16-strictest-esm":"^1.0.3","@types/jest":"^29.5.11","@types/set-cookie-parser":"^2.4.7","@types/text-encoding":"^0.0.37","msw":"^2.0.13","text-encoding":"^0.7.0","ts-jest":"^29.1.1"},"dependencies":{"@ethersproject/abstract-signer":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/providers":"^5.7.2","@ethersproject/units":"^5.7.0","@privy-io/api-base":"^1.1.1","@privy-io/public-api":"2.4.3","eventemitter3":"^5.0.1","fetch-retry":"^5.0.6","jose":"^4.15.5","js-cookie":"^3.0.5","set-cookie-parser":"^2.6.0","uuid":">=8 <10"},"author":"privy.io","browserslist":["defaults","node >= 18","not op_mini all"],"publishConfig":{"access":"public"}}');
3004
+ $53a9b3651331d972$exports = JSON.parse('{"name":"@privy-io/js-sdk-core","version":"0.22.1-beta-20240607145728","description":"Vanilla JS client for the Privy Auth API","keywords":["authentication","authorization","identity","privacy","privy","user data","web3"],"license":"Apache-2.0","source":"./src/index.ts","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"targets":{"main":{"isLibrary":true,"sourceMap":false},"module":{"isLibrary":true,"sourceMap":false}},"files":["dist/**/*","LICENSE","README.md"],"scripts":{"build":"npx parcel build --no-cache","clean":"rm -rf dist .turbo","dev":"npx parcel watch -p 1234","test":"jest --testMatch \\"**/test/**/*.test.ts\\"","test:watch":"npm run test -- --watch","test:ci":"npm run test","lint":"eslint \\"src/**/*.{ts,tsx,js,jsx}\\" && npx tsc --noEmit","format":"eslint \\"src/**/*.{ts,tsx,js,jsx}\\" --fix"},"devDependencies":{"@privy-io/parcel-config":"*","@privy-io/tsconfig":"*","@simplewebauthn/types":"9.0.1","@tsconfig/node16-strictest-esm":"^1.0.3","@types/jest":"^29.5.11","@types/set-cookie-parser":"^2.4.7","@types/text-encoding":"^0.0.37","msw":"^2.0.13","text-encoding":"^0.7.0","ts-jest":"^29.1.1"},"dependencies":{"@ethersproject/abstract-signer":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/providers":"^5.7.2","@ethersproject/units":"^5.7.0","@privy-io/api-base":"^1.1.1","@privy-io/public-api":"2.4.3","eventemitter3":"^5.0.1","fetch-retry":"^5.0.6","jose":"^4.15.5","js-cookie":"^3.0.5","set-cookie-parser":"^2.6.0","uuid":">=8 <10"},"author":"privy.io","browserslist":["defaults","node >= 18","not op_mini all"],"publishConfig":{"access":"public"}}');
3004
3005
 
3005
3006
 
3006
3007
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@privy-io/js-sdk-core",
3
- "version": "0.22.0",
3
+ "version": "0.22.1-beta-20240607145728",
4
4
  "description": "Vanilla JS client for the Privy Auth API",
5
5
  "keywords": [
6
6
  "authentication",