@t402/near 2.4.0 → 2.6.0
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/dist/cjs/exact-direct/client/index.d.ts +2 -2
- package/dist/cjs/exact-direct/facilitator/index.d.ts +1 -1
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/{types-Ca7ztL_f.d.ts → types--Gh6pukS.d.ts} +1 -1
- package/dist/esm/exact-direct/client/index.d.mts +2 -2
- package/dist/esm/exact-direct/facilitator/index.d.mts +1 -1
- package/dist/esm/index.d.mts +2 -2
- package/dist/esm/{types-Ca7ztL_f.d.mts → types--Gh6pukS.d.mts} +1 -1
- package/package.json +22 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SchemeNetworkClient, PaymentRequirements, PaymentPayload, Network } from '@t402/core/types';
|
|
2
|
-
import { C as ClientNearSigner } from '../../types
|
|
3
|
-
import {
|
|
2
|
+
import { C as ClientNearSigner } from '../../types--Gh6pukS.js';
|
|
3
|
+
import { PaymentPolicy, t402Client } from '@t402/core/client';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* NEAR Client Scheme Implementation - Exact Direct
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SchemeNetworkFacilitator, Network, PaymentPayload, PaymentRequirements, VerifyResponse, SettleResponse } from '@t402/core/types';
|
|
2
|
-
import {
|
|
2
|
+
import { a as FacilitatorNearSigner } from '../../types--Gh6pukS.js';
|
|
3
3
|
import { t402Facilitator } from '@t402/core/facilitator';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { C as ClientNearSigner, E as ExactDirectNearPayload,
|
|
1
|
+
import { F as FtTransferArgs, T as TransactionResult, N as NearRpcRequest } from './types--Gh6pukS.js';
|
|
2
|
+
export { C as ClientNearSigner, E as ExactDirectNearPayload, a as FacilitatorNearSigner, b as FunctionCallAction, c as NearRpcResponse, d as NearTransaction, e as TransactionOutcome, f as TransactionStatus, V as VerifyTransactionResult } from './types--Gh6pukS.js';
|
|
3
3
|
export { ExactDirectNearClient, ExactDirectNearClientConfig, NearClientConfig, registerExactDirectNearClient } from './exact-direct/client/index.js';
|
|
4
4
|
export { ExactDirectNearServer, ExactDirectNearServerConfig, NearResourceServerConfig, registerExactDirectNearServer } from './exact-direct/server/index.js';
|
|
5
5
|
export { ExactDirectNearFacilitator, ExactDirectNearFacilitatorConfig, NearFacilitatorConfig, registerExactDirectNearFacilitator } from './exact-direct/facilitator/index.js';
|
|
@@ -166,4 +166,4 @@ interface FacilitatorNearSigner {
|
|
|
166
166
|
getBalance(accountId: string, tokenContract: string): Promise<bigint>;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
export type { ClientNearSigner as C, ExactDirectNearPayload as E, FtTransferArgs as F, NearRpcRequest as N, TransactionResult as T, VerifyTransactionResult as V,
|
|
169
|
+
export type { ClientNearSigner as C, ExactDirectNearPayload as E, FtTransferArgs as F, NearRpcRequest as N, TransactionResult as T, VerifyTransactionResult as V, FacilitatorNearSigner as a, FunctionCallAction as b, NearRpcResponse as c, NearTransaction as d, TransactionOutcome as e, TransactionStatus as f };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SchemeNetworkClient, PaymentRequirements, PaymentPayload, Network } from '@t402/core/types';
|
|
2
|
-
import { C as ClientNearSigner } from '../../types
|
|
3
|
-
import {
|
|
2
|
+
import { C as ClientNearSigner } from '../../types--Gh6pukS.mjs';
|
|
3
|
+
import { PaymentPolicy, t402Client } from '@t402/core/client';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* NEAR Client Scheme Implementation - Exact Direct
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SchemeNetworkFacilitator, Network, PaymentPayload, PaymentRequirements, VerifyResponse, SettleResponse } from '@t402/core/types';
|
|
2
|
-
import {
|
|
2
|
+
import { a as FacilitatorNearSigner } from '../../types--Gh6pukS.mjs';
|
|
3
3
|
import { t402Facilitator } from '@t402/core/facilitator';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { C as ClientNearSigner, E as ExactDirectNearPayload,
|
|
1
|
+
import { F as FtTransferArgs, T as TransactionResult, N as NearRpcRequest } from './types--Gh6pukS.mjs';
|
|
2
|
+
export { C as ClientNearSigner, E as ExactDirectNearPayload, a as FacilitatorNearSigner, b as FunctionCallAction, c as NearRpcResponse, d as NearTransaction, e as TransactionOutcome, f as TransactionStatus, V as VerifyTransactionResult } from './types--Gh6pukS.mjs';
|
|
3
3
|
export { ExactDirectNearClient, ExactDirectNearClientConfig, NearClientConfig, registerExactDirectNearClient } from './exact-direct/client/index.mjs';
|
|
4
4
|
export { ExactDirectNearServer, ExactDirectNearServerConfig, NearResourceServerConfig, registerExactDirectNearServer } from './exact-direct/server/index.mjs';
|
|
5
5
|
export { ExactDirectNearFacilitator, ExactDirectNearFacilitatorConfig, NearFacilitatorConfig, registerExactDirectNearFacilitator } from './exact-direct/facilitator/index.mjs';
|
|
@@ -166,4 +166,4 @@ interface FacilitatorNearSigner {
|
|
|
166
166
|
getBalance(accountId: string, tokenContract: string): Promise<bigint>;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
export type { ClientNearSigner as C, ExactDirectNearPayload as E, FtTransferArgs as F, NearRpcRequest as N, TransactionResult as T, VerifyTransactionResult as V,
|
|
169
|
+
export type { ClientNearSigner as C, ExactDirectNearPayload as E, FtTransferArgs as F, NearRpcRequest as N, TransactionResult as T, VerifyTransactionResult as V, FacilitatorNearSigner as a, FunctionCallAction as b, NearRpcResponse as c, NearTransaction as d, TransactionOutcome as e, TransactionStatus as f };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t402/near",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"main": "./dist/cjs/index.js",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -14,28 +14,32 @@
|
|
|
14
14
|
],
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"author": "T402 Team",
|
|
17
|
-
"repository":
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/t402-io/t402.git",
|
|
20
|
+
"directory": "sdks/typescript/packages/mechanisms/near"
|
|
21
|
+
},
|
|
18
22
|
"description": "t402 Payment Protocol NEAR Implementation",
|
|
19
23
|
"devDependencies": {
|
|
20
|
-
"@eslint/js": "^9.
|
|
21
|
-
"@types/node": "^25.2.
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
23
|
-
"@typescript-eslint/parser": "^8.
|
|
24
|
+
"@eslint/js": "^9.39.2",
|
|
25
|
+
"@types/node": "^25.2.3",
|
|
26
|
+
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
27
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
24
28
|
"eslint": "^9.24.0",
|
|
25
29
|
"eslint-plugin-import": "^2.31.0",
|
|
26
|
-
"eslint-plugin-jsdoc": "^62.
|
|
27
|
-
"eslint-plugin-prettier": "^5.
|
|
28
|
-
"glob": "^13.0.
|
|
29
|
-
"prettier": "3.
|
|
30
|
-
"tsup": "^8.
|
|
30
|
+
"eslint-plugin-jsdoc": "^62.6.0",
|
|
31
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
32
|
+
"glob": "^13.0.5",
|
|
33
|
+
"prettier": "3.8.1",
|
|
34
|
+
"tsup": "^8.5.1",
|
|
31
35
|
"tsx": "^4.21.0",
|
|
32
|
-
"typescript": "^5.
|
|
36
|
+
"typescript": "^5.9.3",
|
|
33
37
|
"vite": "^7.3.1",
|
|
34
|
-
"vite-tsconfig-paths": "^
|
|
38
|
+
"vite-tsconfig-paths": "^6.1.1",
|
|
35
39
|
"vitest": "^3.2.4"
|
|
36
40
|
},
|
|
37
41
|
"dependencies": {
|
|
38
|
-
"@t402/core": "2.
|
|
42
|
+
"@t402/core": "2.6.0"
|
|
39
43
|
},
|
|
40
44
|
"exports": {
|
|
41
45
|
".": {
|
|
@@ -92,6 +96,10 @@
|
|
|
92
96
|
"files": [
|
|
93
97
|
"dist"
|
|
94
98
|
],
|
|
99
|
+
"homepage": "https://t402.io",
|
|
100
|
+
"publishConfig": {
|
|
101
|
+
"access": "public"
|
|
102
|
+
},
|
|
95
103
|
"scripts": {
|
|
96
104
|
"start": "tsx --env-file=.env index.ts",
|
|
97
105
|
"build": "tsup",
|