Skip to content

Commit a85c024

Browse files
1.0.0 Release
Co-authored-by: PayPalServerSDKs <[email protected]>
1 parent 0822bd3 commit a85c024

File tree

3 files changed

+19
-23
lines changed

3 files changed

+19
-23
lines changed

README.md

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33

44
## Introduction
55

6-
### ⚠️ Beta Release Notice
7-
8-
This version is considered a **beta release**. While we have done our best to ensure stability and functionality, there may still be bugs, incomplete features, or breaking changes in future updates.
9-
10-
#### Important Notes
6+
### Important Notes
117

128
- **Available Features:** This SDK currently contains only 3 of PayPal's API endpoints. Additional endpoints and functionality will be added in the future.
139
- **API Changes:** Expect potential changes in APIs and features as we finalize the product.
@@ -27,14 +23,14 @@ Find out more here: [https://developer.paypal.com/docs/api/orders/v2/](https://d
2723
Run the following command from your project directory to install the package from npm:
2824

2925
```bash
30-
npm install @paypal/paypal-server-sdk@0.7.0
26+
npm install @paypal/paypal-server-sdk@1.0.0
3127
```
3228

33-
For additional package details, see the [Npm page for the @paypal/paypal-server-sdk@0.7.0 npm](https://www.npmjs.com/package/@paypal/paypal-server-sdk/v/0.7.0).
29+
For additional package details, see the [Npm page for the @paypal/paypal-server-sdk@1.0.0 npm](https://www.npmjs.com/package/@paypal/paypal-server-sdk/v/1.0.0).
3430

3531
## Initialize the API Client
3632

37-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/client.md)
33+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/client.md)
3834

3935
The following parameters are configurable for the API Client:
4036

@@ -44,8 +40,8 @@ The following parameters are configurable for the API Client:
4440
| `timeout` | `number` | Timeout for API calls.<br>*Default*: `0` |
4541
| `httpClientOptions` | `Partial<HttpClientOptions>` | Stable configurable http client options. |
4642
| `unstableHttpClientOptions` | `any` | Unstable configurable http client options. |
47-
| `logging` | [`PartialLoggingOptions`](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/partial-logging-options.md) | Logging Configuration to enable logging |
48-
| `clientCredentialsAuthCredentials` | [`ClientCredentialsAuthCredentials`](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/auth/oauth-2-client-credentials-grant.md) | The credential object for clientCredentialsAuth |
43+
| `logging` | [`PartialLoggingOptions`](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/partial-logging-options.md) | Logging Configuration to enable logging |
44+
| `clientCredentialsAuthCredentials` | [`ClientCredentialsAuthCredentials`](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/auth/oauth-2-client-credentials-grant.md) | The credential object for clientCredentialsAuth |
4945

5046
### HttpClientOptions
5147

@@ -105,21 +101,21 @@ The SDK can be configured to use a different environment for making API calls. A
105101

106102
This API uses the following authentication schemes.
107103

108-
* [`Oauth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/auth/oauth-2-client-credentials-grant.md)
104+
* [`Oauth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/auth/oauth-2-client-credentials-grant.md)
109105

110106
## List of APIs
111107

112-
* [Orders](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/controllers/orders.md)
113-
* [Payments](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/controllers/payments.md)
114-
* [Vault](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/controllers/vault.md)
108+
* [Orders](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/controllers/orders.md)
109+
* [Payments](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/controllers/payments.md)
110+
* [Vault](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/controllers/vault.md)
115111

116112
## Classes Documentation
117113

118-
* [ApiResponse](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/api-response.md)
119-
* [HttpRequest](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/http-request.md)
120-
* [ApiError](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/api-error.md)
121-
* [PartialLoggingOptions](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/partial-logging-options.md)
122-
* [PartialRequestLoggingOptions](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/partial-request-logging-options.md)
123-
* [PartialResponseLoggingOptions](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/partial-response-logging-options.md)
124-
* [LoggerInterface](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/0.7.0/doc/logger-interface.md)
114+
* [ApiResponse](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/api-response.md)
115+
* [HttpRequest](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/http-request.md)
116+
* [ApiError](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/api-error.md)
117+
* [PartialLoggingOptions](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/partial-logging-options.md)
118+
* [PartialRequestLoggingOptions](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/partial-request-logging-options.md)
119+
* [PartialResponseLoggingOptions](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/partial-response-logging-options.md)
120+
* [LoggerInterface](https://www.github.com/paypal/PayPal-TypeScript-Server-SDK/tree/1.0.0/doc/logger-interface.md)
125121

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.7.0",
2+
"version": "1.0.0",
33
"license": "MIT",
44
"sideEffects": false,
55
"main": "dist/cjs/index.js",

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class Client implements ClientInterface {
7070
};
7171

7272
this._userAgent = updateUserAgent(
73-
'PayPal REST API TypeScript SDK, Version: 0.7.0, on OS {os-info}'
73+
'PayPal REST API TypeScript SDK, Version: 1.0.0, on OS {os-info}'
7474
);
7575
this._requestBuilderFactory = createRequestHandlerFactory(
7676
(server) => getBaseUri(server, this._config),

0 commit comments

Comments
 (0)