@blocklet/payment-js 1.20.22 → 1.21.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.
- package/README.md +1 -1
- package/lib/resources/meter-event.d.ts +2 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ A Node.js SDK for the PaymentKit API. This package allows you to manage resource
|
|
|
4
4
|
|
|
5
5
|
## Related Links
|
|
6
6
|
|
|
7
|
-
- [Payment Kit Documentation](https://www.arcblock.io/docs/arcblock-payment-kit/en/
|
|
7
|
+
- [Payment Kit Documentation](https://www.arcblock.io/docs/arcblock-payment-kit/en/payment-intro) - Official documentation with detailed guides and API references
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GroupedBN, Paginated, Pagination, TMeterEventExpanded } from '@blocklet/payment-types';
|
|
1
|
+
import type { GroupedBN, Paginated, Pagination, SourceData, TMeterEventExpanded } from '@blocklet/payment-types';
|
|
2
2
|
export interface CreateMeterEventData {
|
|
3
3
|
event_name: string;
|
|
4
4
|
payload: {
|
|
@@ -9,6 +9,7 @@ export interface CreateMeterEventData {
|
|
|
9
9
|
timestamp?: number;
|
|
10
10
|
identifier: string;
|
|
11
11
|
metadata?: Record<string, any>;
|
|
12
|
+
source_data?: SourceData;
|
|
12
13
|
}
|
|
13
14
|
export interface MeterEventStats {
|
|
14
15
|
date: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/payment-js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.1",
|
|
4
4
|
"description": "Node.js client for Payment Kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"types",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@blocklet/constant": "^1.16.52-beta-20250912-112002-e3499e9c",
|
|
40
|
-
"@blocklet/payment-types": "1.
|
|
40
|
+
"@blocklet/payment-types": "1.21.1",
|
|
41
41
|
"@blocklet/sdk": "^1.16.52-beta-20250912-112002-e3499e9c"
|
|
42
42
|
},
|
|
43
43
|
"importSort": {
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"type-fest": "^4.41.0",
|
|
65
65
|
"typescript": "5.5.4"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "2501d7ffa66139179361f988e4129ee6c0379f76"
|
|
68
68
|
}
|