@magicnewton/newton-protocol-sdk 0.2.11--canary.91.20272186597.0 → 0.2.11--canary.91.20272598741.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.
@@ -1 +1 @@
1
- "use strict";function n(){const t=new Uint8Array(20);return crypto.getRandomValues(t),Array.from(t).map(r=>r.toString(16).padStart(2,"0")).join("")}function a(t,r){return{jsonrpc:"2.0",id:n(),method:t,params:r}}exports.createJsonRpcRequestPayload=a;
1
+ "use strict";function n(){const t=new Uint8Array(16);return crypto.getRandomValues(t),t[6]=t[6]&15|64,t[8]=t[8]&63|128,Array.from(t).map(r=>r.toString(16).padStart(2,"0")).join("")}function a(t,r){return{jsonrpc:"2.0",id:n(),method:t,params:r}}exports.createJsonRpcRequestPayload=a;
@@ -1 +1 @@
1
- function n(){const t=new Uint8Array(20);return crypto.getRandomValues(t),Array.from(t).map(r=>r.toString(16).padStart(2,"0")).join("")}function o(t,r){return{jsonrpc:"2.0",id:n(),method:t,params:r}}export{o as createJsonRpcRequestPayload};
1
+ function n(){const t=new Uint8Array(16);return crypto.getRandomValues(t),t[6]=t[6]&15|64,t[8]=t[8]&63|128,Array.from(t).map(r=>r.toString(16).padStart(2,"0")).join("")}function o(t,r){return{jsonrpc:"2.0",id:n(),method:t,params:r}}export{o as createJsonRpcRequestPayload};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicnewton/newton-protocol-sdk",
3
- "version": "0.2.11--canary.91.20272186597.0",
3
+ "version": "0.2.11--canary.91.20272598741.0",
4
4
  "description": "Official SDK for the Newton Protocol.",
5
5
  "author": "Newton Foundation <https://x.com/newtfoundation> (https://newton.foundation)",
6
6
  "private": false,