@naturalpay/sdk 0.8.0 → 0.9.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/CHANGELOG.md +13 -0
- package/README.md +19 -0
- package/package.json +1 -1
- package/resources/payment-requests.d.mts +1 -1
- package/resources/payment-requests.d.ts +1 -1
- package/resources/payment-requests.js +1 -1
- package/resources/payment-requests.mjs +1 -1
- package/src/resources/payment-requests.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.0 (2026-05-25)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.8.0...v0.9.0](https://github.com/naturalpay/naturalpay-ts/compare/v0.8.0...v0.9.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([8ad11a9](https://github.com/naturalpay/naturalpay-ts/commit/8ad11a9f44807d45cc5398d83985992de1ee0114))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Documentation
|
|
13
|
+
|
|
14
|
+
* **readme:** add "Choosing your integration" section ([#71](https://github.com/naturalpay/naturalpay-ts/issues/71)) ([d7c8565](https://github.com/naturalpay/naturalpay-ts/commit/d7c85657c9e99d5e1d25e289f551ce38a65eaebf))
|
|
15
|
+
|
|
3
16
|
## 0.8.0 (2026-05-22)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v0.7.0...v0.8.0](https://github.com/naturalpay/naturalpay-ts/compare/v0.7.0...v0.8.0)
|
package/README.md
CHANGED
|
@@ -8,6 +8,25 @@ The REST API documentation can be found on [docs.natural.co](https://docs.natura
|
|
|
8
8
|
|
|
9
9
|
It is generated with [Stainless](https://www.stainless.com/).
|
|
10
10
|
|
|
11
|
+
## Choosing your integration
|
|
12
|
+
|
|
13
|
+
This SDK is the right tool when you're **building a TypeScript or JavaScript
|
|
14
|
+
app, service, or agent runtime** that moves money on Natural — which covers
|
|
15
|
+
almost every production integration.
|
|
16
|
+
|
|
17
|
+
Using a different surface? If you're working **inside an AI coding assistant**
|
|
18
|
+
(Claude, Cursor, Codex) and want it to transact directly, use Natural's hosted
|
|
19
|
+
**MCP server** at `mcp.natural.co` ([guide](https://docs.natural.co/guides/platform/mcp)).
|
|
20
|
+
For terminal and CI use, see the [CLI](https://docs.natural.co/guides/platform/cli).
|
|
21
|
+
Full overview: [Choosing your integration](https://docs.natural.co/guides/overview/start-here).
|
|
22
|
+
|
|
23
|
+
**Building with an AI coding agent?** Install Natural's skill so the agent uses
|
|
24
|
+
this SDK correctly instead of hand-writing REST calls:
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
npx skills add naturalpay/skill
|
|
28
|
+
```
|
|
29
|
+
|
|
11
30
|
## Installation
|
|
12
31
|
|
|
13
32
|
```sh
|
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@ export declare class PaymentRequests extends APIResource {
|
|
|
59
59
|
*/
|
|
60
60
|
fulfill(paymentRequestID: string, params: PaymentRequestFulfillParams, options?: RequestOptions): APIPromise<PaymentRequestFulfillResponse>;
|
|
61
61
|
/**
|
|
62
|
-
* Get a single payment request visible to the authenticated
|
|
62
|
+
* Get a single payment request visible to the authenticated participant party.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* ```ts
|
|
@@ -59,7 +59,7 @@ export declare class PaymentRequests extends APIResource {
|
|
|
59
59
|
*/
|
|
60
60
|
fulfill(paymentRequestID: string, params: PaymentRequestFulfillParams, options?: RequestOptions): APIPromise<PaymentRequestFulfillResponse>;
|
|
61
61
|
/**
|
|
62
|
-
* Get a single payment request visible to the authenticated
|
|
62
|
+
* Get a single payment request visible to the authenticated participant party.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* ```ts
|
|
@@ -117,7 +117,7 @@ class PaymentRequests extends resource_1.APIResource {
|
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
|
-
* Get a single payment request visible to the authenticated
|
|
120
|
+
* Get a single payment request visible to the authenticated participant party.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
123
|
* ```ts
|
|
@@ -114,7 +114,7 @@ export class PaymentRequests extends APIResource {
|
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
* Get a single payment request visible to the authenticated
|
|
117
|
+
* Get a single payment request visible to the authenticated participant party.
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
120
|
* ```ts
|
|
@@ -150,7 +150,7 @@ export class PaymentRequests extends APIResource {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
|
-
* Get a single payment request visible to the authenticated
|
|
153
|
+
* Get a single payment request visible to the authenticated participant party.
|
|
154
154
|
*
|
|
155
155
|
* @example
|
|
156
156
|
* ```ts
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.9.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.9.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.9.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.9.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|