@zoralabs/protocol-sdk 0.7.5 → 0.7.6
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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +8 -0
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4890,7 +4890,7 @@ function isArweaveURL(url) {
|
|
|
4890
4890
|
return url && typeof url === "string" ? url.startsWith("ar://") : false;
|
|
4891
4891
|
}
|
|
4892
4892
|
|
|
4893
|
-
// ../../node_modules/.pnpm/multiformats@13.2.
|
|
4893
|
+
// ../../node_modules/.pnpm/multiformats@13.2.1/node_modules/multiformats/dist/src/bytes.js
|
|
4894
4894
|
var empty = new Uint8Array(0);
|
|
4895
4895
|
function equals(aa, bb) {
|
|
4896
4896
|
if (aa === bb)
|
|
@@ -4916,7 +4916,7 @@ function coerce4(o) {
|
|
|
4916
4916
|
throw new Error("Unknown type, must be binary type");
|
|
4917
4917
|
}
|
|
4918
4918
|
|
|
4919
|
-
// ../../node_modules/.pnpm/multiformats@13.2.
|
|
4919
|
+
// ../../node_modules/.pnpm/multiformats@13.2.1/node_modules/multiformats/dist/src/vendor/base-x.js
|
|
4920
4920
|
function base2(ALPHABET, name) {
|
|
4921
4921
|
if (ALPHABET.length >= 255) {
|
|
4922
4922
|
throw new TypeError("Alphabet too long");
|
|
@@ -5052,7 +5052,7 @@ var src = base2;
|
|
|
5052
5052
|
var _brrp__multiformats_scope_baseX = src;
|
|
5053
5053
|
var base_x_default = _brrp__multiformats_scope_baseX;
|
|
5054
5054
|
|
|
5055
|
-
// ../../node_modules/.pnpm/multiformats@13.2.
|
|
5055
|
+
// ../../node_modules/.pnpm/multiformats@13.2.1/node_modules/multiformats/dist/src/bases/base.js
|
|
5056
5056
|
var Encoder = class {
|
|
5057
5057
|
constructor(name, prefix, baseEncode) {
|
|
5058
5058
|
__publicField(this, "name");
|
|
@@ -5223,7 +5223,7 @@ function rfc4648({ name, prefix, bitsPerChar, alphabet }) {
|
|
|
5223
5223
|
});
|
|
5224
5224
|
}
|
|
5225
5225
|
|
|
5226
|
-
// ../../node_modules/.pnpm/multiformats@13.2.
|
|
5226
|
+
// ../../node_modules/.pnpm/multiformats@13.2.1/node_modules/multiformats/dist/src/bases/base32.js
|
|
5227
5227
|
var base32 = rfc4648({
|
|
5228
5228
|
prefix: "b",
|
|
5229
5229
|
name: "base32",
|
|
@@ -5279,7 +5279,7 @@ var base32z = rfc4648({
|
|
|
5279
5279
|
bitsPerChar: 5
|
|
5280
5280
|
});
|
|
5281
5281
|
|
|
5282
|
-
// ../../node_modules/.pnpm/multiformats@13.2.
|
|
5282
|
+
// ../../node_modules/.pnpm/multiformats@13.2.1/node_modules/multiformats/dist/src/bases/base58.js
|
|
5283
5283
|
var base58btc = baseX({
|
|
5284
5284
|
name: "base58btc",
|
|
5285
5285
|
prefix: "z",
|
|
@@ -5291,7 +5291,7 @@ var base58flickr = baseX({
|
|
|
5291
5291
|
alphabet: "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
|
|
5292
5292
|
});
|
|
5293
5293
|
|
|
5294
|
-
// ../../node_modules/.pnpm/multiformats@13.2.
|
|
5294
|
+
// ../../node_modules/.pnpm/multiformats@13.2.1/node_modules/multiformats/dist/src/vendor/varint.js
|
|
5295
5295
|
var encode_1 = encode2;
|
|
5296
5296
|
var MSB = 128;
|
|
5297
5297
|
var REST = 127;
|
|
@@ -5350,7 +5350,7 @@ var varint = {
|
|
|
5350
5350
|
var _brrp_varint = varint;
|
|
5351
5351
|
var varint_default = _brrp_varint;
|
|
5352
5352
|
|
|
5353
|
-
// ../../node_modules/.pnpm/multiformats@13.2.
|
|
5353
|
+
// ../../node_modules/.pnpm/multiformats@13.2.1/node_modules/multiformats/dist/src/varint.js
|
|
5354
5354
|
function decode3(data, offset = 0) {
|
|
5355
5355
|
const code = varint_default.decode(data, offset);
|
|
5356
5356
|
return [code, varint_default.decode.bytes];
|
|
@@ -5363,7 +5363,7 @@ function encodingLength(int) {
|
|
|
5363
5363
|
return varint_default.encodingLength(int);
|
|
5364
5364
|
}
|
|
5365
5365
|
|
|
5366
|
-
// ../../node_modules/.pnpm/multiformats@13.2.
|
|
5366
|
+
// ../../node_modules/.pnpm/multiformats@13.2.1/node_modules/multiformats/dist/src/hashes/digest.js
|
|
5367
5367
|
function create(code, digest) {
|
|
5368
5368
|
const size = digest.byteLength;
|
|
5369
5369
|
const sizeOffset = encodingLength(code);
|
|
@@ -5408,7 +5408,7 @@ var Digest = class {
|
|
|
5408
5408
|
}
|
|
5409
5409
|
};
|
|
5410
5410
|
|
|
5411
|
-
// ../../node_modules/.pnpm/multiformats@13.2.
|
|
5411
|
+
// ../../node_modules/.pnpm/multiformats@13.2.1/node_modules/multiformats/dist/src/cid.js
|
|
5412
5412
|
function format(link, base3) {
|
|
5413
5413
|
const { bytes, version } = link;
|
|
5414
5414
|
switch (version) {
|