@sleet-js/wrap-near-contract-methods-const 0.0.6 → 0.0.7

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.
@@ -0,0 +1,17 @@
1
+ export declare const wrap_near_methods_const: {
2
+ readonly storage_minimum_balance: "storage_minimum_balance";
3
+ readonly near_deposit: "near_deposit";
4
+ readonly near_withdraw: "near_withdraw";
5
+ readonly new: "new";
6
+ readonly ft_transfer: "ft_transfer";
7
+ readonly ft_transfer_call: "ft_transfer_call";
8
+ readonly ft_total_supply: "ft_total_supply";
9
+ readonly ft_balance_of: "ft_balance_of";
10
+ readonly ft_resolve_transfer: "ft_resolve_transfer";
11
+ readonly storage_deposit: "storage_deposit";
12
+ readonly storage_withdraw: "storage_withdraw";
13
+ readonly storage_unregister: "storage_unregister";
14
+ readonly storage_balance_bounds: "storage_balance_bounds";
15
+ readonly storage_balance_of: "storage_balance_of";
16
+ readonly ft_metadata: "ft_metadata";
17
+ };
package/dist/index.js CHANGED
@@ -1,22 +1,19 @@
1
- // @bun
2
- // index.ts
3
- var wrap_near_methods_const = {
4
- storage_minimum_balance: "storage_minimum_balance",
5
- near_deposit: "near_deposit",
6
- near_withdraw: "near_withdraw",
7
- new: "new",
8
- ft_transfer: "ft_transfer",
9
- ft_transfer_call: "ft_transfer_call",
10
- ft_total_supply: "ft_total_supply",
11
- ft_balance_of: "ft_balance_of",
12
- ft_resolve_transfer: "ft_resolve_transfer",
13
- storage_deposit: "storage_deposit",
14
- storage_withdraw: "storage_withdraw",
15
- storage_unregister: "storage_unregister",
16
- storage_balance_bounds: "storage_balance_bounds",
17
- storage_balance_of: "storage_balance_of",
18
- ft_metadata: "ft_metadata"
19
- };
20
- export {
21
- wrap_near_methods_const
1
+ // ====================================
2
+ // ====== wrap_near_methods_const ======
3
+ export const wrap_near_methods_const = {
4
+ storage_minimum_balance: "storage_minimum_balance",
5
+ near_deposit: "near_deposit",
6
+ near_withdraw: "near_withdraw",
7
+ new: "new",
8
+ ft_transfer: "ft_transfer",
9
+ ft_transfer_call: "ft_transfer_call",
10
+ ft_total_supply: "ft_total_supply",
11
+ ft_balance_of: "ft_balance_of",
12
+ ft_resolve_transfer: "ft_resolve_transfer",
13
+ storage_deposit: "storage_deposit",
14
+ storage_withdraw: "storage_withdraw",
15
+ storage_unregister: "storage_unregister",
16
+ storage_balance_bounds: "storage_balance_bounds",
17
+ storage_balance_of: "storage_balance_of",
18
+ ft_metadata: "ft_metadata",
22
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleet-js/wrap-near-contract-methods-const",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "TypeScript constants for wrapNEAR smart contract methods including NEAR deposit/withdrawal and FT operations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,13 +16,14 @@
16
16
  "dist"
17
17
  ],
18
18
  "scripts": {
19
- "build": "bun build index.ts --outdir dist --target bun",
19
+ "clean": "rm -rf dist",
20
+ "build": "tsc --outDir dist",
20
21
  "prepublishOnly": "bun run build"
21
22
  },
22
23
  "devDependencies": {
23
- "@types/bun": "latest"
24
+ "@types/bun": "^1.3.11"
24
25
  },
25
26
  "peerDependencies": {
26
- "typescript": "^5"
27
+ "typescript": "^6.0.2"
27
28
  }
28
29
  }