@composio/client 0.1.0-alpha.13 → 0.1.0-alpha.14
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/package.json +1 -1
- package/resources/auth/auth.d.mts +2 -2
- package/resources/auth/auth.d.mts.map +1 -1
- package/resources/auth/auth.d.ts +2 -2
- package/resources/auth/auth.d.ts.map +1 -1
- package/resources/auth/auth.js.map +1 -1
- package/resources/auth/auth.mjs.map +1 -1
- package/resources/auth/index.d.mts +1 -1
- package/resources/auth/index.d.mts.map +1 -1
- package/resources/auth/index.d.ts +1 -1
- package/resources/auth/index.d.ts.map +1 -1
- package/resources/auth/index.js.map +1 -1
- package/resources/auth/index.mjs.map +1 -1
- package/resources/auth/session.d.mts +7 -7
- package/resources/auth/session.d.mts.map +1 -1
- package/resources/auth/session.d.ts +7 -7
- package/resources/auth/session.d.ts.map +1 -1
- package/resources/auth/session.js +1 -1
- package/resources/auth/session.js.map +1 -1
- package/resources/auth/session.mjs +1 -1
- package/resources/auth/session.mjs.map +1 -1
- package/src/resources/auth/auth.ts +2 -2
- package/src/resources/auth/index.ts +1 -1
- package/src/resources/auth/session.ts +7 -7
- 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.1.0-alpha.14 (2025-05-26)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** update info to be retrieve ([f4b0b9b](https://github.com/ComposioHQ/composio-base-ts/commit/f4b0b9b0aa0e9d82870d2817b64a038845e55f93))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **api:** skip breaking tests ([96d37b1](https://github.com/ComposioHQ/composio-base-ts/commit/96d37b1d1a98108069aa66d27763d685496aefe7))
|
|
15
|
+
|
|
3
16
|
## 0.1.0-alpha.13 (2025-05-26)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as SessionAPI from "./session.mjs";
|
|
3
|
-
import { Session,
|
|
3
|
+
import { Session, SessionRetrieveResponse } from "./session.mjs";
|
|
4
4
|
export declare class Auth extends APIResource {
|
|
5
5
|
session: SessionAPI.Session;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Auth {
|
|
8
|
-
export { Session as Session, type
|
|
8
|
+
export { Session as Session, type SessionRetrieveResponse as SessionRetrieveResponse };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=auth.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.mts","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"auth.d.mts","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,uBAAuB,EAAE;AAE3C,qBAAa,IAAK,SAAQ,WAAW;IACnC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACxF"}
|
package/resources/auth/auth.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as SessionAPI from "./session.js";
|
|
3
|
-
import { Session,
|
|
3
|
+
import { Session, SessionRetrieveResponse } from "./session.js";
|
|
4
4
|
export declare class Auth extends APIResource {
|
|
5
5
|
session: SessionAPI.Session;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Auth {
|
|
8
|
-
export { Session as Session, type
|
|
8
|
+
export { Session as Session, type SessionRetrieveResponse as SessionRetrieveResponse };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,uBAAuB,EAAE;AAE3C,qBAAa,IAAK,SAAQ,WAAW;IACnC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,iEAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,iEAAwC;AACxC,0CAA6D;AAE7D,MAAa,IAAK,SAAQ,sBAAW;IAArC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAFD,oBAEC;AAED,IAAI,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.mjs","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"auth.mjs","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAA2B;AAE3C,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EAAE,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EAAE,OAAO,EAAE,KAAK,uBAAuB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EAAE,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EAAE,OAAO,EAAE,KAAK,uBAAuB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,wCAAkE;AAAzD,kGAAA,OAAO,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/auth/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAAE;OACR,EAAE,OAAO,EAAgC"}
|
|
@@ -9,27 +9,27 @@ export declare class Session extends APIResource {
|
|
|
9
9
|
* retrieving contextual information about the authenticated user and their access
|
|
10
10
|
* privileges.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
retrieve(options?: RequestOptions): APIPromise<SessionRetrieveResponse>;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Response containing user session information
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SessionRetrieveResponse {
|
|
18
18
|
/**
|
|
19
19
|
* Details of the API key used for authentication (null if using session auth)
|
|
20
20
|
*/
|
|
21
|
-
api_key:
|
|
21
|
+
api_key: SessionRetrieveResponse.APIKey | null;
|
|
22
22
|
/**
|
|
23
23
|
* Information about the authenticated user
|
|
24
24
|
*/
|
|
25
|
-
org_member:
|
|
25
|
+
org_member: SessionRetrieveResponse.OrgMember;
|
|
26
26
|
/**
|
|
27
27
|
* Details of the current active project (null if accessing with org-level
|
|
28
28
|
* credentials)
|
|
29
29
|
*/
|
|
30
|
-
project:
|
|
30
|
+
project: SessionRetrieveResponse.Project | null;
|
|
31
31
|
}
|
|
32
|
-
export declare namespace
|
|
32
|
+
export declare namespace SessionRetrieveResponse {
|
|
33
33
|
/**
|
|
34
34
|
* Details of the API key used for authentication (null if using session auth)
|
|
35
35
|
*/
|
|
@@ -235,6 +235,6 @@ export declare namespace SessionInfoResponse {
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
export declare namespace Session {
|
|
238
|
-
export { type
|
|
238
|
+
export { type SessionRetrieveResponse as SessionRetrieveResponse };
|
|
239
239
|
}
|
|
240
240
|
//# sourceMappingURL=session.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.mts","sourceRoot":"","sources":["../../src/resources/auth/session.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;OAMG;IACH,
|
|
1
|
+
{"version":3,"file":"session.d.mts","sourceRoot":"","sources":["../../src/resources/auth/session.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGxE;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,OAAO,EAAE,uBAAuB,CAAC,MAAM,GAAG,IAA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OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
|
|
@@ -9,27 +9,27 @@ export declare class Session extends APIResource {
|
|
|
9
9
|
* retrieving contextual information about the authenticated user and their access
|
|
10
10
|
* privileges.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
retrieve(options?: RequestOptions): APIPromise<SessionRetrieveResponse>;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Response containing user session information
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SessionRetrieveResponse {
|
|
18
18
|
/**
|
|
19
19
|
* Details of the API key used for authentication (null if using session auth)
|
|
20
20
|
*/
|
|
21
|
-
api_key:
|
|
21
|
+
api_key: SessionRetrieveResponse.APIKey | null;
|
|
22
22
|
/**
|
|
23
23
|
* Information about the authenticated user
|
|
24
24
|
*/
|
|
25
|
-
org_member:
|
|
25
|
+
org_member: SessionRetrieveResponse.OrgMember;
|
|
26
26
|
/**
|
|
27
27
|
* Details of the current active project (null if accessing with org-level
|
|
28
28
|
* credentials)
|
|
29
29
|
*/
|
|
30
|
-
project:
|
|
30
|
+
project: SessionRetrieveResponse.Project | null;
|
|
31
31
|
}
|
|
32
|
-
export declare namespace
|
|
32
|
+
export declare namespace SessionRetrieveResponse {
|
|
33
33
|
/**
|
|
34
34
|
* Details of the API key used for authentication (null if using session auth)
|
|
35
35
|
*/
|
|
@@ -235,6 +235,6 @@ export declare namespace SessionInfoResponse {
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
export declare namespace Session {
|
|
238
|
-
export { type
|
|
238
|
+
export { type SessionRetrieveResponse as SessionRetrieveResponse };
|
|
239
239
|
}
|
|
240
240
|
//# sourceMappingURL=session.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/resources/auth/session.ts"],"names":[],"mappings":"OAEO,EAA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BACH,EAAE,EAAE,MAAM,CAAC;gBAEX;;mBAEG;gBACH,OAAO,EAAE,MAAM,CAAC;gBAEhB;;mBAEG;gBACH,UAAU,EAAE,MAAM,CAAC;gBAEnB;;mBAEG;gBACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;gBAE1B;;mBAEG;gBACH,KAAK,EAAE,MAAM,CAAC;gBAEd;;mBAEG;gBACH,IAAI,EAAE,MAAM,CAAC;gBAEb;;mBAEG;gBACH,MAAM,EAAE,MAAM,CAAC;gBAEf;;mBAEG;gBACH,IAAI,EAAE,MAAM,CAAC;gBAEb;;mBAEG;gBACH,UAAU,EAAE,MAAM,CAAC;gBAEnB;;mBAEG;gBACH,QAAQ,CAAC,EAAE,OAAO,CAAC;aACpB;SACF;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
|
|
@@ -11,7 +11,7 @@ class Session extends resource_1.APIResource {
|
|
|
11
11
|
* retrieving contextual information about the authenticated user and their access
|
|
12
12
|
* privileges.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
retrieve(options) {
|
|
15
15
|
return this._client.get('/api/v3/auth/session/info', options);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.js","sourceRoot":"","sources":["../../src/resources/auth/session.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;OAMG;IACH,
|
|
1
|
+
{"version":3,"file":"session.js","sourceRoot":"","sources":["../../src/resources/auth/session.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;OAMG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF;AAXD,0BAWC"}
|
|
@@ -8,7 +8,7 @@ export class Session extends APIResource {
|
|
|
8
8
|
* retrieving contextual information about the authenticated user and their access
|
|
9
9
|
* privileges.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
retrieve(options) {
|
|
12
12
|
return this._client.get('/api/v3/auth/session/info', options);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.mjs","sourceRoot":"","sources":["../../src/resources/auth/session.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;OAMG;IACH,
|
|
1
|
+
{"version":3,"file":"session.mjs","sourceRoot":"","sources":["../../src/resources/auth/session.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;OAMG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as SessionAPI from './session';
|
|
5
|
-
import { Session,
|
|
5
|
+
import { Session, SessionRetrieveResponse } from './session';
|
|
6
6
|
|
|
7
7
|
export class Auth extends APIResource {
|
|
8
8
|
session: SessionAPI.Session = new SessionAPI.Session(this._client);
|
|
@@ -11,5 +11,5 @@ export class Auth extends APIResource {
|
|
|
11
11
|
Auth.Session = Session;
|
|
12
12
|
|
|
13
13
|
export declare namespace Auth {
|
|
14
|
-
export { Session as Session, type
|
|
14
|
+
export { Session as Session, type SessionRetrieveResponse as SessionRetrieveResponse };
|
|
15
15
|
}
|
|
@@ -12,7 +12,7 @@ export class Session extends APIResource {
|
|
|
12
12
|
* retrieving contextual information about the authenticated user and their access
|
|
13
13
|
* privileges.
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
retrieve(options?: RequestOptions): APIPromise<SessionRetrieveResponse> {
|
|
16
16
|
return this._client.get('/api/v3/auth/session/info', options);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -20,25 +20,25 @@ export class Session extends APIResource {
|
|
|
20
20
|
/**
|
|
21
21
|
* Response containing user session information
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface SessionRetrieveResponse {
|
|
24
24
|
/**
|
|
25
25
|
* Details of the API key used for authentication (null if using session auth)
|
|
26
26
|
*/
|
|
27
|
-
api_key:
|
|
27
|
+
api_key: SessionRetrieveResponse.APIKey | null;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Information about the authenticated user
|
|
31
31
|
*/
|
|
32
|
-
org_member:
|
|
32
|
+
org_member: SessionRetrieveResponse.OrgMember;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Details of the current active project (null if accessing with org-level
|
|
36
36
|
* credentials)
|
|
37
37
|
*/
|
|
38
|
-
project:
|
|
38
|
+
project: SessionRetrieveResponse.Project | null;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export namespace
|
|
41
|
+
export namespace SessionRetrieveResponse {
|
|
42
42
|
/**
|
|
43
43
|
* Details of the API key used for authentication (null if using session auth)
|
|
44
44
|
*/
|
|
@@ -288,5 +288,5 @@ export namespace SessionInfoResponse {
|
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
export declare namespace Session {
|
|
291
|
-
export { type
|
|
291
|
+
export { type SessionRetrieveResponse as SessionRetrieveResponse };
|
|
292
292
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.14'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.14";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.14";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.1.0-alpha.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.14'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.14'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|