@fastnear/api 0.5.0 → 0.5.1
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.
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
/* ⋈ 🏃🏻💨 FastNEAR API - IIFE/UMD */
|
|
2
2
|
var NearApi = (() => {
|
|
3
|
-
var __create = Object.create;
|
|
4
3
|
var __defProp = Object.defineProperty;
|
|
5
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
7
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
10
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
11
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
12
|
-
}) : x)(function(x) {
|
|
13
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
14
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
15
|
-
});
|
|
16
8
|
var __export = (target, all) => {
|
|
17
9
|
for (var name in all)
|
|
18
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -25,14 +17,6 @@ var NearApi = (() => {
|
|
|
25
17
|
}
|
|
26
18
|
return to;
|
|
27
19
|
};
|
|
28
|
-
var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__getProtoOf(mod2)) : {}, __copyProps(
|
|
29
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
30
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
31
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
32
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
33
|
-
isNodeMode || !mod2 || !mod2.__esModule ? __defProp(target, "default", { value: mod2, enumerable: true }) : target,
|
|
34
|
-
mod2
|
|
35
|
-
));
|
|
36
20
|
var __toCommonJS = (mod2) => __copyProps(__defProp({}, "__esModule", { value: true }), mod2);
|
|
37
21
|
|
|
38
22
|
// src/index.ts
|
|
@@ -740,9 +724,8 @@ var NearApi = (() => {
|
|
|
740
724
|
}
|
|
741
725
|
__name(aoutput, "aoutput");
|
|
742
726
|
|
|
743
|
-
// ../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/
|
|
744
|
-
var
|
|
745
|
-
var crypto2 = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && "randomBytes" in nc ? nc : void 0;
|
|
727
|
+
// ../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/crypto.js
|
|
728
|
+
var crypto2 = typeof globalThis === "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
|
|
746
729
|
|
|
747
730
|
// ../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/utils.js
|
|
748
731
|
var createView = /* @__PURE__ */ __name((arr) => new DataView(arr.buffer, arr.byteOffset, arr.byteLength), "createView");
|