@calimero-network/mero-js 15.3.1 → 15.3.3
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/device-cert/device-cert.js +11 -1
- package/dist/index.browser.mjs +1 -1
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2770,7 +2770,7 @@ async function signWarrant(input) {
|
|
|
2770
2770
|
var CERT_DOMAIN = new TextEncoder().encode("calimero.device.cert.v1");
|
|
2771
2771
|
var ACCOUNT_ID_DOMAIN = new TextEncoder().encode("calimero.account.genesis.v1");
|
|
2772
2772
|
var DEVICE_ID_DOMAIN = new TextEncoder().encode("calimero.device.id.v1");
|
|
2773
|
-
var ACCOUNT_GENESIS_VERSION =
|
|
2773
|
+
var ACCOUNT_GENESIS_VERSION = 2;
|
|
2774
2774
|
async function mintDeviceId(account, nonce) {
|
|
2775
2775
|
if (nonce.length !== 16) {
|
|
2776
2776
|
throw new Error(`nonce must be 16 bytes, got ${nonce.length}`);
|