@noresponse/node 7.1.1 → 7.1.2
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 +4 -0
- package/README.md +26 -6
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
<img src="https://raw.githubusercontent.com/noresponsehq/.github/main/profile/sdk-header.png" alt="NoResponse" width="100%">
|
|
1
|
+
<a href="https://noresponse.org"><img src="https://raw.githubusercontent.com/noresponsehq/.github/main/profile/sdk-header.png" alt="NoResponse · Identity Intelligence" width="100%"></a>
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# NoResponse for TypeScript and Node.js
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Assess sign-ups, logins and purchases with the NoResponse Identity Intelligence API.
|
|
6
6
|
|
|
7
|
-
Node.js 20
|
|
7
|
+
Node.js 20+ · ESM and CommonJS · TypeScript types included.
|
|
8
|
+
|
|
9
|
+
[Documentation](https://docs.noresponse.org/sdks/typescript) · [API reference](https://docs.noresponse.org/api-reference) · [Releases](https://github.com/noresponsehq/node/releases)
|
|
10
|
+
|
|
11
|
+
## Install
|
|
8
12
|
|
|
9
13
|
```sh
|
|
10
14
|
npm install @noresponse/node
|
|
@@ -34,6 +38,19 @@ if (assessment.account) {
|
|
|
34
38
|
|
|
35
39
|
Keep the API key on your server. The client throws at construction without one.
|
|
36
40
|
|
|
41
|
+
## Go further
|
|
42
|
+
|
|
43
|
+
| Task | Guide |
|
|
44
|
+
| --- | --- |
|
|
45
|
+
| Configure this client and explore its methods | [TypeScript and Node.js SDK guide](https://docs.noresponse.org/sdks/typescript) |
|
|
46
|
+
| Act when an account's decision changes | [Late results](https://docs.noresponse.org/guides/late-results) |
|
|
47
|
+
| Explore request and response fields | [API reference](https://docs.noresponse.org/api-reference) |
|
|
48
|
+
|
|
49
|
+
<details>
|
|
50
|
+
<summary><strong>SDK reference</strong> · configuration, methods, errors and webhooks</summary>
|
|
51
|
+
|
|
52
|
+
[Configuration](#configuration) · [Assessments](#assessments) · [Keys](#keys) · [Integrations](#integrations) · [Response metadata](#response-metadata) · [Errors](#errors) · [Retries](#retries) · [Issued keys](#issued-keys) · [Key usage](#key-usage) · [Webhooks](#webhooks) · [Auth adapters](#auth-adapters) · [Logging](#logging) · [Standalone functions](#standalone-functions)
|
|
53
|
+
|
|
37
54
|
## Configuration
|
|
38
55
|
|
|
39
56
|
```ts
|
|
@@ -384,8 +401,11 @@ const result = await assessmentsCreate(new NoResponseCore({ apiKey }), { idempot
|
|
|
384
401
|
if (result.ok) console.log(result.value.result.status);
|
|
385
402
|
```
|
|
386
403
|
|
|
404
|
+
</details>
|
|
405
|
+
|
|
387
406
|
## Support
|
|
388
407
|
|
|
389
|
-
|
|
408
|
+
[Open an issue](https://github.com/noresponsehq/node/issues) and include the request ID from the response or error.
|
|
409
|
+
Keep API keys and personal data out of issues.
|
|
390
410
|
|
|
391
|
-
Apache-2.0.
|
|
411
|
+
[Apache-2.0](LICENSE).
|
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1";
|
|
34
|
-
readonly sdkVersion: "7.1.
|
|
34
|
+
readonly sdkVersion: "7.1.2";
|
|
35
35
|
readonly genVersion: "internal";
|
|
36
|
-
readonly userAgent: "noresponse-sdk/typescript 7.1.
|
|
36
|
+
readonly userAgent: "noresponse-sdk/typescript 7.1.2 internal 1 @noresponse/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "1",
|
|
31
|
-
sdkVersion: "7.1.
|
|
31
|
+
sdkVersion: "7.1.2",
|
|
32
32
|
genVersion: "internal",
|
|
33
|
-
userAgent: "noresponse-sdk/typescript 7.1.
|
|
33
|
+
userAgent: "noresponse-sdk/typescript 7.1.2 internal 1 @noresponse/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1";
|
|
34
|
-
readonly sdkVersion: "7.1.
|
|
34
|
+
readonly sdkVersion: "7.1.2";
|
|
35
35
|
readonly genVersion: "internal";
|
|
36
|
-
readonly userAgent: "noresponse-sdk/typescript 7.1.
|
|
36
|
+
readonly userAgent: "noresponse-sdk/typescript 7.1.2 internal 1 @noresponse/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -24,8 +24,8 @@ export function serverURLFromOptions(options) {
|
|
|
24
24
|
export const SDK_METADATA = {
|
|
25
25
|
language: "typescript",
|
|
26
26
|
openapiDocVersion: "1",
|
|
27
|
-
sdkVersion: "7.1.
|
|
27
|
+
sdkVersion: "7.1.2",
|
|
28
28
|
genVersion: "internal",
|
|
29
|
-
userAgent: "noresponse-sdk/typescript 7.1.
|
|
29
|
+
userAgent: "noresponse-sdk/typescript 7.1.2 internal 1 @noresponse/node",
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=config.js.map
|