@le-space/core 0.4.4 → 0.5.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/{_esm-3QBVL5IV.js → _esm-SEGUHZCN.js} +29 -29
- package/{ccip-62HLVIJN.js → ccip-FZJNHKYI.js} +100 -100
- package/{chunk-3CGLGAGR.js → chunk-ZMOPJA7G.js} +4 -4
- package/index.d.ts +41 -2
- package/index.js +1116 -901
- package/package.json +11 -3
- package/{secp256k1-WKIOWUKN.js → secp256k1-UP7VCQDO.js} +10 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@le-space/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Reusable Aleph deployment, runtime, and guest lifecycle logic.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,8 +15,16 @@
|
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/NiKrause/relay-button"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/NiKrause/relay-button",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/NiKrause/relay-button/issues"
|
|
25
|
+
},
|
|
18
26
|
"dependencies": {
|
|
19
|
-
"@le-space/aleph-bootstrap": "0.
|
|
20
|
-
"@le-space/shared-types": "0.
|
|
27
|
+
"@le-space/aleph-bootstrap": "0.5.2",
|
|
28
|
+
"@le-space/shared-types": "0.5.2"
|
|
21
29
|
}
|
|
22
30
|
}
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
toBytes,
|
|
33
33
|
utf8ToBytes,
|
|
34
34
|
validateObject
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZMOPJA7G.js";
|
|
36
36
|
import "./chunk-4VNS5WPM.js";
|
|
37
37
|
|
|
38
|
-
// ../../node_modules
|
|
38
|
+
// ../../node_modules/@noble/hashes/esm/_md.js
|
|
39
39
|
function setBigUint64(view, byteOffset, value, isLE) {
|
|
40
40
|
if (typeof view.setBigUint64 === "function")
|
|
41
41
|
return view.setBigUint64(byteOffset, value, isLE);
|
|
@@ -155,7 +155,7 @@ var SHA256_IV = /* @__PURE__ */ Uint32Array.from([
|
|
|
155
155
|
1541459225
|
|
156
156
|
]);
|
|
157
157
|
|
|
158
|
-
// ../../node_modules
|
|
158
|
+
// ../../node_modules/@noble/hashes/esm/sha2.js
|
|
159
159
|
var SHA256_K = /* @__PURE__ */ Uint32Array.from([
|
|
160
160
|
1116352408,
|
|
161
161
|
1899447441,
|
|
@@ -295,7 +295,7 @@ var SHA256 = class extends HashMD {
|
|
|
295
295
|
};
|
|
296
296
|
var sha256 = /* @__PURE__ */ createHasher(() => new SHA256());
|
|
297
297
|
|
|
298
|
-
// ../../node_modules
|
|
298
|
+
// ../../node_modules/@noble/hashes/esm/hmac.js
|
|
299
299
|
var HMAC = class extends Hash {
|
|
300
300
|
constructor(hash, _key) {
|
|
301
301
|
super();
|
|
@@ -363,7 +363,7 @@ var HMAC = class extends Hash {
|
|
|
363
363
|
var hmac = (hash, key, message) => new HMAC(hash, key).update(message).digest();
|
|
364
364
|
hmac.create = (hash, key) => new HMAC(hash, key);
|
|
365
365
|
|
|
366
|
-
// ../../node_modules
|
|
366
|
+
// ../../node_modules/@noble/curves/esm/abstract/modular.js
|
|
367
367
|
var _0n = BigInt(0);
|
|
368
368
|
var _1n = BigInt(1);
|
|
369
369
|
var _2n = /* @__PURE__ */ BigInt(2);
|
|
@@ -637,7 +637,7 @@ function mapHashToField(key, fieldOrder, isLE = false) {
|
|
|
637
637
|
return isLE ? numberToBytesLE(reduced, fieldLen) : numberToBytesBE(reduced, fieldLen);
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
// ../../node_modules
|
|
640
|
+
// ../../node_modules/@noble/curves/esm/abstract/curve.js
|
|
641
641
|
var _0n2 = BigInt(0);
|
|
642
642
|
var _1n2 = BigInt(1);
|
|
643
643
|
function constTimeNegate(condition, item) {
|
|
@@ -871,7 +871,7 @@ function validateBasic(curve) {
|
|
|
871
871
|
});
|
|
872
872
|
}
|
|
873
873
|
|
|
874
|
-
// ../../node_modules
|
|
874
|
+
// ../../node_modules/@noble/curves/esm/abstract/weierstrass.js
|
|
875
875
|
function validateSigVerOpts(opts) {
|
|
876
876
|
if (opts.lowS !== void 0)
|
|
877
877
|
abool("lowS", opts.lowS);
|
|
@@ -1857,7 +1857,7 @@ function mapToCurveSimpleSWU(Fp, opts) {
|
|
|
1857
1857
|
};
|
|
1858
1858
|
}
|
|
1859
1859
|
|
|
1860
|
-
// ../../node_modules
|
|
1860
|
+
// ../../node_modules/@noble/curves/esm/_shortw_utils.js
|
|
1861
1861
|
function getHash(hash) {
|
|
1862
1862
|
return {
|
|
1863
1863
|
hash,
|
|
@@ -1870,7 +1870,7 @@ function createCurve(curveDef, defHash) {
|
|
|
1870
1870
|
return { ...create(defHash), create };
|
|
1871
1871
|
}
|
|
1872
1872
|
|
|
1873
|
-
// ../../node_modules
|
|
1873
|
+
// ../../node_modules/@noble/curves/esm/abstract/hash-to-curve.js
|
|
1874
1874
|
var os2ip = bytesToNumberBE;
|
|
1875
1875
|
function i2osp(value, length) {
|
|
1876
1876
|
anum(value);
|
|
@@ -2018,7 +2018,7 @@ function createHasher2(Point2, mapToCurve, defaults) {
|
|
|
2018
2018
|
};
|
|
2019
2019
|
}
|
|
2020
2020
|
|
|
2021
|
-
// ../../node_modules
|
|
2021
|
+
// ../../node_modules/@noble/curves/esm/secp256k1.js
|
|
2022
2022
|
var secp256k1P = BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f");
|
|
2023
2023
|
var secp256k1N = BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141");
|
|
2024
2024
|
var _0n4 = BigInt(0);
|