@fastnear/api 0.6.2 → 0.6.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.
@@ -1,5 +1,5 @@
1
- /* ⋈ 🏃🏻💨 FastNEAR API - CJS (@fastnear/api version 0.6.1) */
2
- /* https://www.npmjs.com/package/@fastnear/api/v/0.6.1 */
1
+ /* ⋈ 🏃🏻💨 FastNEAR API - CJS (@fastnear/api version 0.6.3) */
2
+ /* https://www.npmjs.com/package/@fastnear/api/v/0.6.3 */
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
- /* ⋈ 🏃🏻💨 FastNEAR API - ESM (@fastnear/api version 0.6.1) */
2
- /* https://www.npmjs.com/package/@fastnear/api/v/0.6.1 */
1
+ /* ⋈ 🏃🏻💨 FastNEAR API - ESM (@fastnear/api version 0.6.3) */
2
+ /* https://www.npmjs.com/package/@fastnear/api/v/0.6.3 */
3
3
  import { convertUnit } from "@fastnear/utils";
4
4
  if (typeof window !== "undefined") {
5
5
  window.$$ = convertUnit;
@@ -1,5 +1,5 @@
1
- /* ⋈ 🏃🏻💨 FastNEAR API - IIFE/UMD (@fastnear/api version 0.6.1) */
2
- /* https://www.npmjs.com/package/@fastnear/api/v/0.6.1 */
1
+ /* ⋈ 🏃🏻💨 FastNEAR API - IIFE/UMD (@fastnear/api version 0.6.3) */
2
+ /* https://www.npmjs.com/package/@fastnear/api/v/0.6.3 */
3
3
  var near = (() => {
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -4420,15 +4420,11 @@ var near = (() => {
4420
4420
  (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
4421
4421
  */
4422
4422
 
4423
- if (typeof globalThis.near === 'undefined') {
4424
- console.warn('No globalThis.near');
4425
- } else {
4426
- Object.defineProperty(globalThis, 'near', {
4427
- value: globalThis.near,
4428
- writable: false,
4429
- enumerable: true,
4430
- configurable: false,
4431
- });
4432
- }
4423
+ Object.defineProperty(globalThis, 'near', {
4424
+ value: near,
4425
+ writable: false,
4426
+ enumerable: true,
4427
+ configurable: false,
4428
+ });
4433
4429
 
4434
4430
  //# sourceMappingURL=browser.global.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastnear/api",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Interact with NEAR Protocol blockchain including transaction signing, utilities, and more.",
5
5
  "type": "module",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -29,8 +29,8 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@fastnear/utils": "0.6.2",
33
- "@fastnear/wallet-adapter": "0.6.2",
32
+ "@fastnear/utils": "0.6.3",
33
+ "@fastnear/wallet-adapter": "0.6.3",
34
34
  "@noble/curves": "*",
35
35
  "@noble/hashes": "*",
36
36
  "base58-js": "*",