userplex 0.8.0 → 0.10.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 +16 -0
- package/README.md +17 -23
- package/package.json +1 -1
- package/resources/logs.d.mts +16 -40
- package/resources/logs.d.mts.map +1 -1
- package/resources/logs.d.ts +16 -40
- package/resources/logs.d.ts.map +1 -1
- package/resources/logs.js +4 -11
- package/resources/logs.js.map +1 -1
- package/resources/logs.mjs +4 -11
- package/resources/logs.mjs.map +1 -1
- package/resources/users.d.mts +10 -16
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +10 -16
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +1 -5
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +1 -5
- package/resources/users.mjs.map +1 -1
- package/src/resources/logs.ts +22 -41
- package/src/resources/users.ts +10 -15
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.0 (2025-12-23)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.9.0...v0.10.0](https://github.com/dqnamo/userplex-typescript/compare/v0.9.0...v0.10.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([8c2510f](https://github.com/dqnamo/userplex-typescript/commit/8c2510f0ea10dedeee32df8ea9710eddb1e4965c))
|
|
10
|
+
|
|
11
|
+
## 0.9.0 (2025-12-23)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.8.0...v0.9.0](https://github.com/dqnamo/userplex-typescript/compare/v0.8.0...v0.9.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** manual updates ([93ef6be](https://github.com/dqnamo/userplex-typescript/commit/93ef6be0aa09ec274144e1c1a37e3fe10a97eae2))
|
|
18
|
+
|
|
3
19
|
## 0.8.0 (2025-12-19)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.7.0...v0.8.0](https://github.com/dqnamo/userplex-typescript/compare/v0.7.0...v0.8.0)
|
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ const client = new Userplex({
|
|
|
26
26
|
apiKey: process.env['USERPLEX_API_KEY'], // This is the default and can be omitted
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
const response = await client.
|
|
29
|
+
const response = await client.logs.new({ name: 'REPLACE_ME' });
|
|
30
30
|
|
|
31
31
|
console.log(response.success);
|
|
32
32
|
```
|
|
@@ -43,8 +43,8 @@ const client = new Userplex({
|
|
|
43
43
|
apiKey: process.env['USERPLEX_API_KEY'], // This is the default and can be omitted
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
const params: Userplex.
|
|
47
|
-
const response: Userplex.
|
|
46
|
+
const params: Userplex.LogNewParams = { name: 'REPLACE_ME' };
|
|
47
|
+
const response: Userplex.LogNewResponse = await client.logs.new(params);
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
|
|
@@ -57,17 +57,15 @@ a subclass of `APIError` will be thrown:
|
|
|
57
57
|
|
|
58
58
|
<!-- prettier-ignore -->
|
|
59
59
|
```ts
|
|
60
|
-
const response = await client.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
});
|
|
60
|
+
const response = await client.logs.new({ name: 'REPLACE_ME' }).catch(async (err) => {
|
|
61
|
+
if (err instanceof Userplex.APIError) {
|
|
62
|
+
console.log(err.status); // 400
|
|
63
|
+
console.log(err.name); // BadRequestError
|
|
64
|
+
console.log(err.headers); // {server: 'nginx', ...}
|
|
65
|
+
} else {
|
|
66
|
+
throw err;
|
|
67
|
+
}
|
|
68
|
+
});
|
|
71
69
|
```
|
|
72
70
|
|
|
73
71
|
Error codes are as follows:
|
|
@@ -99,7 +97,7 @@ const client = new Userplex({
|
|
|
99
97
|
});
|
|
100
98
|
|
|
101
99
|
// Or, configure per-request:
|
|
102
|
-
await client.
|
|
100
|
+
await client.logs.new({ name: 'REPLACE_ME' }, {
|
|
103
101
|
maxRetries: 5,
|
|
104
102
|
});
|
|
105
103
|
```
|
|
@@ -116,7 +114,7 @@ const client = new Userplex({
|
|
|
116
114
|
});
|
|
117
115
|
|
|
118
116
|
// Override per-request:
|
|
119
|
-
await client.
|
|
117
|
+
await client.logs.new({ name: 'REPLACE_ME' }, {
|
|
120
118
|
timeout: 5 * 1000,
|
|
121
119
|
});
|
|
122
120
|
```
|
|
@@ -139,15 +137,11 @@ Unlike `.asResponse()` this method consumes the body, returning once it is parse
|
|
|
139
137
|
```ts
|
|
140
138
|
const client = new Userplex();
|
|
141
139
|
|
|
142
|
-
const response = await client.
|
|
143
|
-
.identify({ user_id: 'user_id', email: 'REPLACE_ME', name: 'REPLACE_ME' })
|
|
144
|
-
.asResponse();
|
|
140
|
+
const response = await client.logs.new({ name: 'REPLACE_ME' }).asResponse();
|
|
145
141
|
console.log(response.headers.get('X-My-Header'));
|
|
146
142
|
console.log(response.statusText); // access the underlying Response object
|
|
147
143
|
|
|
148
|
-
const { data: response, response: raw } = await client.
|
|
149
|
-
.identify({ user_id: 'user_id', email: 'REPLACE_ME', name: 'REPLACE_ME' })
|
|
150
|
-
.withResponse();
|
|
144
|
+
const { data: response, response: raw } = await client.logs.new({ name: 'REPLACE_ME' }).withResponse();
|
|
151
145
|
console.log(raw.headers.get('X-My-Header'));
|
|
152
146
|
console.log(response.success);
|
|
153
147
|
```
|
|
@@ -229,7 +223,7 @@ parameter. This library doesn't validate at runtime that the request matches the
|
|
|
229
223
|
send will be sent as-is.
|
|
230
224
|
|
|
231
225
|
```ts
|
|
232
|
-
client.
|
|
226
|
+
client.logs.new({
|
|
233
227
|
// ...
|
|
234
228
|
// @ts-expect-error baz is not yet public
|
|
235
229
|
baz: 'undocumented option',
|
package/package.json
CHANGED
package/resources/logs.d.mts
CHANGED
|
@@ -2,87 +2,63 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
export declare class Logs extends APIResource {
|
|
5
|
-
|
|
6
|
-
* Records multiple log occurrences in a single request. Requires a valid API key
|
|
7
|
-
* for authentication.
|
|
8
|
-
*/
|
|
9
|
-
batch(body: LogBatchParams, options?: RequestOptions): APIPromise<LogBatchResponse>;
|
|
10
|
-
/**
|
|
11
|
-
* Creates or uses an existing log and records a log occurrence for an end user.
|
|
12
|
-
* Requires a valid API key for authentication.
|
|
13
|
-
*/
|
|
5
|
+
batch(params?: LogBatchParams | null | undefined, options?: RequestOptions): APIPromise<LogBatchResponse>;
|
|
14
6
|
new(body: LogNewParams, options?: RequestOptions): APIPromise<LogNewResponse>;
|
|
15
7
|
}
|
|
16
8
|
export interface LogBatchResponse {
|
|
17
|
-
/**
|
|
18
|
-
* Number of logs processed
|
|
19
|
-
*/
|
|
20
|
-
count: number;
|
|
21
|
-
/**
|
|
22
|
-
* Operation success status
|
|
23
|
-
*/
|
|
24
9
|
success: boolean;
|
|
25
10
|
}
|
|
26
11
|
export interface LogNewResponse {
|
|
27
|
-
/**
|
|
28
|
-
* Operation success status
|
|
29
|
-
*/
|
|
30
12
|
success: boolean;
|
|
31
13
|
}
|
|
32
14
|
export interface LogBatchParams {
|
|
33
15
|
/**
|
|
34
|
-
*
|
|
16
|
+
* A list of logs to ingest
|
|
35
17
|
*/
|
|
36
|
-
|
|
18
|
+
body?: Array<LogBatchParams.Body>;
|
|
37
19
|
}
|
|
38
20
|
export declare namespace LogBatchParams {
|
|
39
|
-
interface
|
|
40
|
-
name: string;
|
|
21
|
+
interface Body {
|
|
41
22
|
/**
|
|
42
|
-
*
|
|
23
|
+
* Log name
|
|
43
24
|
*/
|
|
44
|
-
|
|
25
|
+
name: string;
|
|
45
26
|
/**
|
|
46
27
|
* Additional log data
|
|
47
28
|
*/
|
|
48
29
|
data?: {
|
|
49
30
|
[key: string]: unknown;
|
|
50
31
|
};
|
|
51
|
-
/**
|
|
52
|
-
* Alias for data, for compatibility
|
|
53
|
-
*/
|
|
54
|
-
properties?: {
|
|
55
|
-
[key: string]: unknown;
|
|
56
|
-
};
|
|
57
32
|
/**
|
|
58
33
|
* Log timestamp (ISO 8601)
|
|
59
34
|
*/
|
|
60
35
|
timestamp?: string;
|
|
36
|
+
/**
|
|
37
|
+
* External user ID
|
|
38
|
+
*/
|
|
39
|
+
user_id?: string;
|
|
61
40
|
[k: string]: unknown;
|
|
62
41
|
}
|
|
63
42
|
}
|
|
64
43
|
export interface LogNewParams {
|
|
65
|
-
name: string;
|
|
66
44
|
/**
|
|
67
|
-
*
|
|
45
|
+
* Log name
|
|
68
46
|
*/
|
|
69
|
-
|
|
47
|
+
name: string;
|
|
70
48
|
/**
|
|
71
49
|
* Additional log data
|
|
72
50
|
*/
|
|
73
51
|
data?: {
|
|
74
52
|
[key: string]: unknown;
|
|
75
53
|
};
|
|
76
|
-
/**
|
|
77
|
-
* Alias for data, for compatibility
|
|
78
|
-
*/
|
|
79
|
-
properties?: {
|
|
80
|
-
[key: string]: unknown;
|
|
81
|
-
};
|
|
82
54
|
/**
|
|
83
55
|
* Log timestamp (ISO 8601)
|
|
84
56
|
*/
|
|
85
57
|
timestamp?: string;
|
|
58
|
+
/**
|
|
59
|
+
* External user ID
|
|
60
|
+
*/
|
|
61
|
+
user_id?: string;
|
|
86
62
|
[k: string]: unknown;
|
|
87
63
|
}
|
|
88
64
|
export declare namespace Logs {
|
package/resources/logs.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logs.d.mts","sourceRoot":"","sources":["../src/resources/logs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC
|
|
1
|
+
{"version":3,"file":"logs.d.mts","sourceRoot":"","sources":["../src/resources/logs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,KAAK,CACH,MAAM,GAAE,cAAc,GAAG,IAAI,GAAG,SAAqB,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAK/B,GAAG,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;CAG9E;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;CACnC;AAED,yBAAiB,cAAc,CAAC;IAC9B,UAAiB,IAAI;QACnB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,IAAI,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAElC;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB;CACF;AAED,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAElC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,YAAY,IAAI,YAAY,GAClC,CAAC;CACH"}
|
package/resources/logs.d.ts
CHANGED
|
@@ -2,87 +2,63 @@ import { APIResource } from "../core/resource.js";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
4
|
export declare class Logs extends APIResource {
|
|
5
|
-
|
|
6
|
-
* Records multiple log occurrences in a single request. Requires a valid API key
|
|
7
|
-
* for authentication.
|
|
8
|
-
*/
|
|
9
|
-
batch(body: LogBatchParams, options?: RequestOptions): APIPromise<LogBatchResponse>;
|
|
10
|
-
/**
|
|
11
|
-
* Creates or uses an existing log and records a log occurrence for an end user.
|
|
12
|
-
* Requires a valid API key for authentication.
|
|
13
|
-
*/
|
|
5
|
+
batch(params?: LogBatchParams | null | undefined, options?: RequestOptions): APIPromise<LogBatchResponse>;
|
|
14
6
|
new(body: LogNewParams, options?: RequestOptions): APIPromise<LogNewResponse>;
|
|
15
7
|
}
|
|
16
8
|
export interface LogBatchResponse {
|
|
17
|
-
/**
|
|
18
|
-
* Number of logs processed
|
|
19
|
-
*/
|
|
20
|
-
count: number;
|
|
21
|
-
/**
|
|
22
|
-
* Operation success status
|
|
23
|
-
*/
|
|
24
9
|
success: boolean;
|
|
25
10
|
}
|
|
26
11
|
export interface LogNewResponse {
|
|
27
|
-
/**
|
|
28
|
-
* Operation success status
|
|
29
|
-
*/
|
|
30
12
|
success: boolean;
|
|
31
13
|
}
|
|
32
14
|
export interface LogBatchParams {
|
|
33
15
|
/**
|
|
34
|
-
*
|
|
16
|
+
* A list of logs to ingest
|
|
35
17
|
*/
|
|
36
|
-
|
|
18
|
+
body?: Array<LogBatchParams.Body>;
|
|
37
19
|
}
|
|
38
20
|
export declare namespace LogBatchParams {
|
|
39
|
-
interface
|
|
40
|
-
name: string;
|
|
21
|
+
interface Body {
|
|
41
22
|
/**
|
|
42
|
-
*
|
|
23
|
+
* Log name
|
|
43
24
|
*/
|
|
44
|
-
|
|
25
|
+
name: string;
|
|
45
26
|
/**
|
|
46
27
|
* Additional log data
|
|
47
28
|
*/
|
|
48
29
|
data?: {
|
|
49
30
|
[key: string]: unknown;
|
|
50
31
|
};
|
|
51
|
-
/**
|
|
52
|
-
* Alias for data, for compatibility
|
|
53
|
-
*/
|
|
54
|
-
properties?: {
|
|
55
|
-
[key: string]: unknown;
|
|
56
|
-
};
|
|
57
32
|
/**
|
|
58
33
|
* Log timestamp (ISO 8601)
|
|
59
34
|
*/
|
|
60
35
|
timestamp?: string;
|
|
36
|
+
/**
|
|
37
|
+
* External user ID
|
|
38
|
+
*/
|
|
39
|
+
user_id?: string;
|
|
61
40
|
[k: string]: unknown;
|
|
62
41
|
}
|
|
63
42
|
}
|
|
64
43
|
export interface LogNewParams {
|
|
65
|
-
name: string;
|
|
66
44
|
/**
|
|
67
|
-
*
|
|
45
|
+
* Log name
|
|
68
46
|
*/
|
|
69
|
-
|
|
47
|
+
name: string;
|
|
70
48
|
/**
|
|
71
49
|
* Additional log data
|
|
72
50
|
*/
|
|
73
51
|
data?: {
|
|
74
52
|
[key: string]: unknown;
|
|
75
53
|
};
|
|
76
|
-
/**
|
|
77
|
-
* Alias for data, for compatibility
|
|
78
|
-
*/
|
|
79
|
-
properties?: {
|
|
80
|
-
[key: string]: unknown;
|
|
81
|
-
};
|
|
82
54
|
/**
|
|
83
55
|
* Log timestamp (ISO 8601)
|
|
84
56
|
*/
|
|
85
57
|
timestamp?: string;
|
|
58
|
+
/**
|
|
59
|
+
* External user ID
|
|
60
|
+
*/
|
|
61
|
+
user_id?: string;
|
|
86
62
|
[k: string]: unknown;
|
|
87
63
|
}
|
|
88
64
|
export declare namespace Logs {
|
package/resources/logs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logs.d.ts","sourceRoot":"","sources":["../src/resources/logs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC
|
|
1
|
+
{"version":3,"file":"logs.d.ts","sourceRoot":"","sources":["../src/resources/logs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,KAAK,CACH,MAAM,GAAE,cAAc,GAAG,IAAI,GAAG,SAAqB,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAK/B,GAAG,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;CAG9E;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;CACnC;AAED,yBAAiB,cAAc,CAAC;IAC9B,UAAiB,IAAI;QACnB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,IAAI,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAElC;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB;CACF;AAED,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAElC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,YAAY,IAAI,YAAY,GAClC,CAAC;CACH"}
|
package/resources/logs.js
CHANGED
|
@@ -4,19 +4,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Logs = void 0;
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
6
|
class Logs extends resource_1.APIResource {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*/
|
|
11
|
-
batch(body, options) {
|
|
12
|
-
return this._client.post('/api/logs/batch', { body, ...options });
|
|
7
|
+
batch(params = undefined, options) {
|
|
8
|
+
const { body } = params ?? {};
|
|
9
|
+
return this._client.post('/logs', { body: body, ...options });
|
|
13
10
|
}
|
|
14
|
-
/**
|
|
15
|
-
* Creates or uses an existing log and records a log occurrence for an end user.
|
|
16
|
-
* Requires a valid API key for authentication.
|
|
17
|
-
*/
|
|
18
11
|
new(body, options) {
|
|
19
|
-
return this._client.post('/
|
|
12
|
+
return this._client.post('/log', { body, ...options });
|
|
20
13
|
}
|
|
21
14
|
}
|
|
22
15
|
exports.Logs = Logs;
|
package/resources/logs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logs.js","sourceRoot":"","sources":["../src/resources/logs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,IAAK,SAAQ,sBAAW;IACnC
|
|
1
|
+
{"version":3,"file":"logs.js","sourceRoot":"","sources":["../src/resources/logs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,IAAK,SAAQ,sBAAW;IACnC,KAAK,CACH,SAA4C,SAAS,EACrD,OAAwB;QAExB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,GAAG,CAAC,IAAkB,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzD,CAAC;CACF;AAZD,oBAYC"}
|
package/resources/logs.mjs
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
3
|
export class Logs extends APIResource {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
batch(body, options) {
|
|
9
|
-
return this._client.post('/api/logs/batch', { body, ...options });
|
|
4
|
+
batch(params = undefined, options) {
|
|
5
|
+
const { body } = params ?? {};
|
|
6
|
+
return this._client.post('/logs', { body: body, ...options });
|
|
10
7
|
}
|
|
11
|
-
/**
|
|
12
|
-
* Creates or uses an existing log and records a log occurrence for an end user.
|
|
13
|
-
* Requires a valid API key for authentication.
|
|
14
|
-
*/
|
|
15
8
|
new(body, options) {
|
|
16
|
-
return this._client.post('/
|
|
9
|
+
return this._client.post('/log', { body, ...options });
|
|
17
10
|
}
|
|
18
11
|
}
|
|
19
12
|
//# sourceMappingURL=logs.mjs.map
|
package/resources/logs.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logs.mjs","sourceRoot":"","sources":["../src/resources/logs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC
|
|
1
|
+
{"version":3,"file":"logs.mjs","sourceRoot":"","sources":["../src/resources/logs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC,KAAK,CACH,SAA4C,SAAS,EACrD,OAAwB;QAExB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,GAAG,CAAC,IAAkB,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzD,CAAC;CACF"}
|
package/resources/users.d.mts
CHANGED
|
@@ -2,37 +2,31 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
export declare class Users extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Creates or updates an end user in InstantDB with the provided information.
|
|
7
|
-
* Requires a valid API key for authentication.
|
|
8
|
-
*/
|
|
9
5
|
identify(body: UserIdentifyParams, options?: RequestOptions): APIPromise<UserIdentifyResponse>;
|
|
10
6
|
}
|
|
11
7
|
export interface UserIdentifyResponse {
|
|
12
|
-
/**
|
|
13
|
-
* Operation success status
|
|
14
|
-
*/
|
|
15
8
|
success: boolean;
|
|
16
9
|
}
|
|
17
10
|
export interface UserIdentifyParams {
|
|
18
11
|
/**
|
|
19
|
-
*
|
|
12
|
+
* External user ID
|
|
20
13
|
*/
|
|
21
14
|
user_id: string;
|
|
22
15
|
/**
|
|
23
|
-
*
|
|
16
|
+
* Additional user attributes
|
|
24
17
|
*/
|
|
25
|
-
|
|
18
|
+
attributes?: {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
};
|
|
26
21
|
/**
|
|
27
|
-
* User
|
|
22
|
+
* User email
|
|
28
23
|
*/
|
|
29
|
-
|
|
24
|
+
email?: string;
|
|
30
25
|
/**
|
|
31
|
-
*
|
|
26
|
+
* User name
|
|
32
27
|
*/
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
28
|
+
name?: string;
|
|
29
|
+
[k: string]: unknown;
|
|
36
30
|
}
|
|
37
31
|
export declare namespace Users {
|
|
38
32
|
export { type UserIdentifyResponse as UserIdentifyResponse, type UserIdentifyParams as UserIdentifyParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC
|
|
1
|
+
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG/F;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAExC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC7G"}
|
package/resources/users.d.ts
CHANGED
|
@@ -2,37 +2,31 @@ import { APIResource } from "../core/resource.js";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
4
|
export declare class Users extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Creates or updates an end user in InstantDB with the provided information.
|
|
7
|
-
* Requires a valid API key for authentication.
|
|
8
|
-
*/
|
|
9
5
|
identify(body: UserIdentifyParams, options?: RequestOptions): APIPromise<UserIdentifyResponse>;
|
|
10
6
|
}
|
|
11
7
|
export interface UserIdentifyResponse {
|
|
12
|
-
/**
|
|
13
|
-
* Operation success status
|
|
14
|
-
*/
|
|
15
8
|
success: boolean;
|
|
16
9
|
}
|
|
17
10
|
export interface UserIdentifyParams {
|
|
18
11
|
/**
|
|
19
|
-
*
|
|
12
|
+
* External user ID
|
|
20
13
|
*/
|
|
21
14
|
user_id: string;
|
|
22
15
|
/**
|
|
23
|
-
*
|
|
16
|
+
* Additional user attributes
|
|
24
17
|
*/
|
|
25
|
-
|
|
18
|
+
attributes?: {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
};
|
|
26
21
|
/**
|
|
27
|
-
* User
|
|
22
|
+
* User email
|
|
28
23
|
*/
|
|
29
|
-
|
|
24
|
+
email?: string;
|
|
30
25
|
/**
|
|
31
|
-
*
|
|
26
|
+
* User name
|
|
32
27
|
*/
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
28
|
+
name?: string;
|
|
29
|
+
[k: string]: unknown;
|
|
36
30
|
}
|
|
37
31
|
export declare namespace Users {
|
|
38
32
|
export { type UserIdentifyResponse as UserIdentifyResponse, type UserIdentifyParams as UserIdentifyParams };
|
package/resources/users.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG/F;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAExC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC7G"}
|
package/resources/users.js
CHANGED
|
@@ -4,12 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Users = void 0;
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
6
|
class Users extends resource_1.APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Creates or updates an end user in InstantDB with the provided information.
|
|
9
|
-
* Requires a valid API key for authentication.
|
|
10
|
-
*/
|
|
11
7
|
identify(body, options) {
|
|
12
|
-
return this._client.post('/
|
|
8
|
+
return this._client.post('/identify', { body, ...options });
|
|
13
9
|
}
|
|
14
10
|
}
|
|
15
11
|
exports.Users = Users;
|
package/resources/users.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,KAAM,SAAQ,sBAAW;IACpC
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,KAAM,SAAQ,sBAAW;IACpC,QAAQ,CAAC,IAAwB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF;AAJD,sBAIC"}
|
package/resources/users.mjs
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
3
|
export class Users extends APIResource {
|
|
4
|
-
/**
|
|
5
|
-
* Creates or updates an end user in InstantDB with the provided information.
|
|
6
|
-
* Requires a valid API key for authentication.
|
|
7
|
-
*/
|
|
8
4
|
identify(body, options) {
|
|
9
|
-
return this._client.post('/
|
|
5
|
+
return this._client.post('/identify', { body, ...options });
|
|
10
6
|
}
|
|
11
7
|
}
|
|
12
8
|
//# sourceMappingURL=users.mjs.map
|
package/resources/users.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC
|
|
1
|
+
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC,QAAQ,CAAC,IAAwB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF"}
|
package/src/resources/logs.ts
CHANGED
|
@@ -5,57 +5,40 @@ import { APIPromise } from '../core/api-promise';
|
|
|
5
5
|
import { RequestOptions } from '../internal/request-options';
|
|
6
6
|
|
|
7
7
|
export class Logs extends APIResource {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return this._client.post('/
|
|
8
|
+
batch(
|
|
9
|
+
params: LogBatchParams | null | undefined = undefined,
|
|
10
|
+
options?: RequestOptions,
|
|
11
|
+
): APIPromise<LogBatchResponse> {
|
|
12
|
+
const { body } = params ?? {};
|
|
13
|
+
return this._client.post('/logs', { body: body, ...options });
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* Creates or uses an existing log and records a log occurrence for an end user.
|
|
18
|
-
* Requires a valid API key for authentication.
|
|
19
|
-
*/
|
|
20
16
|
new(body: LogNewParams, options?: RequestOptions): APIPromise<LogNewResponse> {
|
|
21
|
-
return this._client.post('/
|
|
17
|
+
return this._client.post('/log', { body, ...options });
|
|
22
18
|
}
|
|
23
19
|
}
|
|
24
20
|
|
|
25
21
|
export interface LogBatchResponse {
|
|
26
|
-
/**
|
|
27
|
-
* Number of logs processed
|
|
28
|
-
*/
|
|
29
|
-
count: number;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Operation success status
|
|
33
|
-
*/
|
|
34
22
|
success: boolean;
|
|
35
23
|
}
|
|
36
24
|
|
|
37
25
|
export interface LogNewResponse {
|
|
38
|
-
/**
|
|
39
|
-
* Operation success status
|
|
40
|
-
*/
|
|
41
26
|
success: boolean;
|
|
42
27
|
}
|
|
43
28
|
|
|
44
29
|
export interface LogBatchParams {
|
|
45
30
|
/**
|
|
46
|
-
*
|
|
31
|
+
* A list of logs to ingest
|
|
47
32
|
*/
|
|
48
|
-
|
|
33
|
+
body?: Array<LogBatchParams.Body>;
|
|
49
34
|
}
|
|
50
35
|
|
|
51
36
|
export namespace LogBatchParams {
|
|
52
|
-
export interface
|
|
53
|
-
name: string;
|
|
54
|
-
|
|
37
|
+
export interface Body {
|
|
55
38
|
/**
|
|
56
|
-
*
|
|
39
|
+
* Log name
|
|
57
40
|
*/
|
|
58
|
-
|
|
41
|
+
name: string;
|
|
59
42
|
|
|
60
43
|
/**
|
|
61
44
|
* Additional log data
|
|
@@ -63,26 +46,24 @@ export namespace LogBatchParams {
|
|
|
63
46
|
data?: { [key: string]: unknown };
|
|
64
47
|
|
|
65
48
|
/**
|
|
66
|
-
*
|
|
49
|
+
* Log timestamp (ISO 8601)
|
|
67
50
|
*/
|
|
68
|
-
|
|
51
|
+
timestamp?: string;
|
|
69
52
|
|
|
70
53
|
/**
|
|
71
|
-
*
|
|
54
|
+
* External user ID
|
|
72
55
|
*/
|
|
73
|
-
|
|
56
|
+
user_id?: string;
|
|
74
57
|
|
|
75
58
|
[k: string]: unknown;
|
|
76
59
|
}
|
|
77
60
|
}
|
|
78
61
|
|
|
79
62
|
export interface LogNewParams {
|
|
80
|
-
name: string;
|
|
81
|
-
|
|
82
63
|
/**
|
|
83
|
-
*
|
|
64
|
+
* Log name
|
|
84
65
|
*/
|
|
85
|
-
|
|
66
|
+
name: string;
|
|
86
67
|
|
|
87
68
|
/**
|
|
88
69
|
* Additional log data
|
|
@@ -90,14 +71,14 @@ export interface LogNewParams {
|
|
|
90
71
|
data?: { [key: string]: unknown };
|
|
91
72
|
|
|
92
73
|
/**
|
|
93
|
-
*
|
|
74
|
+
* Log timestamp (ISO 8601)
|
|
94
75
|
*/
|
|
95
|
-
|
|
76
|
+
timestamp?: string;
|
|
96
77
|
|
|
97
78
|
/**
|
|
98
|
-
*
|
|
79
|
+
* External user ID
|
|
99
80
|
*/
|
|
100
|
-
|
|
81
|
+
user_id?: string;
|
|
101
82
|
|
|
102
83
|
[k: string]: unknown;
|
|
103
84
|
}
|
package/src/resources/users.ts
CHANGED
|
@@ -5,42 +5,37 @@ import { APIPromise } from '../core/api-promise';
|
|
|
5
5
|
import { RequestOptions } from '../internal/request-options';
|
|
6
6
|
|
|
7
7
|
export class Users extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Creates or updates an end user in InstantDB with the provided information.
|
|
10
|
-
* Requires a valid API key for authentication.
|
|
11
|
-
*/
|
|
12
8
|
identify(body: UserIdentifyParams, options?: RequestOptions): APIPromise<UserIdentifyResponse> {
|
|
13
|
-
return this._client.post('/
|
|
9
|
+
return this._client.post('/identify', { body, ...options });
|
|
14
10
|
}
|
|
15
11
|
}
|
|
16
12
|
|
|
17
13
|
export interface UserIdentifyResponse {
|
|
18
|
-
/**
|
|
19
|
-
* Operation success status
|
|
20
|
-
*/
|
|
21
14
|
success: boolean;
|
|
22
15
|
}
|
|
23
16
|
|
|
24
17
|
export interface UserIdentifyParams {
|
|
25
18
|
/**
|
|
26
|
-
*
|
|
19
|
+
* External user ID
|
|
27
20
|
*/
|
|
28
21
|
user_id: string;
|
|
29
22
|
|
|
30
23
|
/**
|
|
31
|
-
*
|
|
24
|
+
* Additional user attributes
|
|
32
25
|
*/
|
|
33
|
-
|
|
26
|
+
attributes?: { [key: string]: unknown };
|
|
34
27
|
|
|
35
28
|
/**
|
|
36
|
-
* User
|
|
29
|
+
* User email
|
|
37
30
|
*/
|
|
38
|
-
|
|
31
|
+
email?: string;
|
|
39
32
|
|
|
40
33
|
/**
|
|
41
|
-
*
|
|
34
|
+
* User name
|
|
42
35
|
*/
|
|
43
|
-
|
|
36
|
+
name?: string;
|
|
37
|
+
|
|
38
|
+
[k: string]: unknown;
|
|
44
39
|
}
|
|
45
40
|
|
|
46
41
|
export declare namespace Users {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.10.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.10.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.10.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.10.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|