@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.mjs
CHANGED
|
@@ -2693,7 +2693,7 @@ async function signWarrant(input) {
|
|
|
2693
2693
|
var CERT_DOMAIN = new TextEncoder().encode("calimero.device.cert.v1");
|
|
2694
2694
|
var ACCOUNT_ID_DOMAIN = new TextEncoder().encode("calimero.account.genesis.v1");
|
|
2695
2695
|
var DEVICE_ID_DOMAIN = new TextEncoder().encode("calimero.device.id.v1");
|
|
2696
|
-
var ACCOUNT_GENESIS_VERSION =
|
|
2696
|
+
var ACCOUNT_GENESIS_VERSION = 2;
|
|
2697
2697
|
async function mintDeviceId(account, nonce) {
|
|
2698
2698
|
if (nonce.length !== 16) {
|
|
2699
2699
|
throw new Error(`nonce must be 16 bytes, got ${nonce.length}`);
|