@worldcoin/idkit-core 4.1.0 → 4.1.2
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/idkit_wasm_bg.wasm +0 -0
- package/dist/index.cjs +9 -9
- package/dist/index.js +9 -9
- package/package.json +15 -2
package/dist/idkit_wasm_bg.wasm
CHANGED
|
Binary file
|
package/dist/index.cjs
CHANGED
|
@@ -1396,7 +1396,7 @@ function __wbg_get_imports() {
|
|
|
1396
1396
|
const a = state0.a;
|
|
1397
1397
|
state0.a = 0;
|
|
1398
1398
|
try {
|
|
1399
|
-
return
|
|
1399
|
+
return __wasm_bindgen_func_elem_1438(a, state0.b, arg02, arg12);
|
|
1400
1400
|
} finally {
|
|
1401
1401
|
state0.a = a;
|
|
1402
1402
|
}
|
|
@@ -1576,11 +1576,11 @@ function __wbg_get_imports() {
|
|
|
1576
1576
|
return addHeapObject(ret);
|
|
1577
1577
|
},
|
|
1578
1578
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1579
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1579
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_656, __wasm_bindgen_func_elem_657);
|
|
1580
1580
|
return addHeapObject(ret);
|
|
1581
1581
|
},
|
|
1582
1582
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1583
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1583
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_984, __wasm_bindgen_func_elem_985);
|
|
1584
1584
|
return addHeapObject(ret);
|
|
1585
1585
|
},
|
|
1586
1586
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -1616,13 +1616,13 @@ function __wbg_get_imports() {
|
|
|
1616
1616
|
"./idkit_wasm_bg.js": import0
|
|
1617
1617
|
};
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1620
|
-
wasm.
|
|
1619
|
+
function __wasm_bindgen_func_elem_657(arg0, arg1) {
|
|
1620
|
+
wasm.__wasm_bindgen_func_elem_657(arg0, arg1);
|
|
1621
1621
|
}
|
|
1622
|
-
function
|
|
1622
|
+
function __wasm_bindgen_func_elem_985(arg0, arg1, arg2) {
|
|
1623
1623
|
try {
|
|
1624
1624
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1625
|
-
wasm.
|
|
1625
|
+
wasm.__wasm_bindgen_func_elem_985(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1626
1626
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1627
1627
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1628
1628
|
if (r1) {
|
|
@@ -1632,8 +1632,8 @@ function __wasm_bindgen_func_elem_976(arg0, arg1, arg2) {
|
|
|
1632
1632
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1636
|
-
wasm.
|
|
1635
|
+
function __wasm_bindgen_func_elem_1438(arg0, arg1, arg2, arg3) {
|
|
1636
|
+
wasm.__wasm_bindgen_func_elem_1438(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1637
1637
|
}
|
|
1638
1638
|
var __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
1639
1639
|
var __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
package/dist/index.js
CHANGED
|
@@ -1393,7 +1393,7 @@ function __wbg_get_imports() {
|
|
|
1393
1393
|
const a = state0.a;
|
|
1394
1394
|
state0.a = 0;
|
|
1395
1395
|
try {
|
|
1396
|
-
return
|
|
1396
|
+
return __wasm_bindgen_func_elem_1438(a, state0.b, arg02, arg12);
|
|
1397
1397
|
} finally {
|
|
1398
1398
|
state0.a = a;
|
|
1399
1399
|
}
|
|
@@ -1573,11 +1573,11 @@ function __wbg_get_imports() {
|
|
|
1573
1573
|
return addHeapObject(ret);
|
|
1574
1574
|
},
|
|
1575
1575
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1576
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1576
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_656, __wasm_bindgen_func_elem_657);
|
|
1577
1577
|
return addHeapObject(ret);
|
|
1578
1578
|
},
|
|
1579
1579
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1580
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1580
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_984, __wasm_bindgen_func_elem_985);
|
|
1581
1581
|
return addHeapObject(ret);
|
|
1582
1582
|
},
|
|
1583
1583
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -1613,13 +1613,13 @@ function __wbg_get_imports() {
|
|
|
1613
1613
|
"./idkit_wasm_bg.js": import0
|
|
1614
1614
|
};
|
|
1615
1615
|
}
|
|
1616
|
-
function
|
|
1617
|
-
wasm.
|
|
1616
|
+
function __wasm_bindgen_func_elem_657(arg0, arg1) {
|
|
1617
|
+
wasm.__wasm_bindgen_func_elem_657(arg0, arg1);
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1619
|
+
function __wasm_bindgen_func_elem_985(arg0, arg1, arg2) {
|
|
1620
1620
|
try {
|
|
1621
1621
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1622
|
-
wasm.
|
|
1622
|
+
wasm.__wasm_bindgen_func_elem_985(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1623
1623
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1624
1624
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1625
1625
|
if (r1) {
|
|
@@ -1629,8 +1629,8 @@ function __wasm_bindgen_func_elem_976(arg0, arg1, arg2) {
|
|
|
1629
1629
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1633
|
-
wasm.
|
|
1632
|
+
function __wasm_bindgen_func_elem_1438(arg0, arg1, arg2, arg3) {
|
|
1633
|
+
wasm.__wasm_bindgen_func_elem_1438(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1634
1634
|
}
|
|
1635
1635
|
var __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
1636
1636
|
var __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worldcoin/idkit-core",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Core IDKit SDK for World ID - Pure TypeScript, no dependencies",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -28,6 +28,19 @@
|
|
|
28
28
|
"require": "./dist/session.cjs"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
+
"typesVersions": {
|
|
32
|
+
"*": {
|
|
33
|
+
"signing": [
|
|
34
|
+
"./dist/signing.d.ts"
|
|
35
|
+
],
|
|
36
|
+
"hashing": [
|
|
37
|
+
"./dist/hashing.d.ts"
|
|
38
|
+
],
|
|
39
|
+
"session": [
|
|
40
|
+
"./dist/session.d.ts"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
31
44
|
"files": [
|
|
32
45
|
"dist"
|
|
33
46
|
],
|
|
@@ -57,7 +70,7 @@
|
|
|
57
70
|
},
|
|
58
71
|
"dependencies": {
|
|
59
72
|
"@noble/hashes": "^1.7.2",
|
|
60
|
-
"@worldcoin/idkit-server": "1.1.
|
|
73
|
+
"@worldcoin/idkit-server": "1.1.1"
|
|
61
74
|
},
|
|
62
75
|
"devDependencies": {
|
|
63
76
|
"@types/node": "^20.19.30",
|