@linqapp/sdk 0.66.2 → 0.66.3

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.66.3](https://github.com/linq-team/linq-node/compare/v0.66.2...v0.66.3) (2026-09-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * clarify location sharing stop endpoint behavior ([530026d](https://github.com/linq-team/linq-node/commit/530026d0f5e0731a8fb7243ebf61648f1b305d81))
9
+
3
10
  ## [0.66.2](https://github.com/linq-team/linq-node/compare/v0.66.1...v0.66.2) (2026-09-11)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linqapp/sdk",
3
- "version": "0.66.2",
3
+ "version": "0.66.3",
4
4
  "description": "The official TypeScript library for the Linq API V3 API",
5
5
  "author": "Linq API V3 <support@linq.com>",
6
6
  "types": "./index.d.ts",
@@ -104,32 +104,17 @@ export declare class Location extends APIResource {
104
104
  */
105
105
  request(chatID: string, options?: RequestOptions): APIPromise<LocationRequestResponse>;
106
106
  /**
107
- * End the location share a contact started with you, as though they had stopped it
108
- * themselves. Their device stops listing you as someone they share with, so they
109
- * can start a fresh share cleanly.
107
+ * Stop a contact's location share with you. `handle` is required and names whose
108
+ * share to end.
110
109
  *
111
- * Use this to recover when a share has gone stale coordinates that stop
112
- * advancing, or a share you believe has ended but is still reported as active.
113
- * Without it the only remedy is asking the contact to stop and re-share, which is
114
- * confusing for them because their phone still shows everything as working.
110
+ * Returns `202` when the request is accepted. The stop is carried out on the
111
+ * contact's device, and the `location.sharing.stopped` webhook fires once sharing
112
+ * has ended.
115
113
  *
116
- * This is not reversible from the API. Sharing can only resume when the contact
117
- * starts a new share, so prompt them to re-share afterwards. Request a new one
118
- * with `POST /v3/chats/{chatId}/location/request`.
114
+ * Sharing is per contact, so this ends that contact's share in every chat you have
115
+ * with them.
119
116
  *
120
- * Apple keeps one location-sharing relationship per person rather than per chat,
121
- * so this ends that contact's share everywhere, not only in this chat.
122
- *
123
- * `handle` names whose share to end, and is always required — a group chat can
124
- * have several people sharing, and this is not an operation to infer a target for.
125
- *
126
- * **This returns `202`, not `200`.** The removal happens on the device that holds
127
- * the sharing relationship, so a success here means the request was accepted, not
128
- * that sharing has ended. Wait for the `location.sharing.stopped` webhook to
129
- * confirm it — that webhook is what tells you the contact's device has actually
130
- * let go.
131
- *
132
- * Returns `404` if the contact is not currently sharing.
117
+ * Returns `404` if the contact isn't currently sharing.
133
118
  *
134
119
  * @example
135
120
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"location.d.mts","sourceRoot":"","sources":["../../src/resources/chats/location.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAOvF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAItF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,IAAI,CACF,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,kBAAkB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;CAG/C;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,uBAAuB,CAAC,IAAI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AAK,CAAC,MAAM,CAAC,CAAC;gBAE3B,IAAI,EAAE,OAAO,CAAC;aACf;YAED,UAAiB,UAAU;gBACzB;;mBAEG;gBACH,MAAM,EAAE,MAAM,CAAC;gBAEf;;mBAEG;gBACH,OAAO,CAAC,EAAE,MAAM,CAAC;gBAEjB;;mBAEG;gBACH,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAElB;;mBAEG;gBACH,UAAU,CAAC,EAAE,MAAM,CAAC;aACrB;SACF;KACF;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -104,32 +104,17 @@ export declare class Location extends APIResource {
104
104
  */
105
105
  request(chatID: string, options?: RequestOptions): APIPromise<LocationRequestResponse>;
106
106
  /**
107
- * End the location share a contact started with you, as though they had stopped it
108
- * themselves. Their device stops listing you as someone they share with, so they
109
- * can start a fresh share cleanly.
107
+ * Stop a contact's location share with you. `handle` is required and names whose
108
+ * share to end.
110
109
  *
111
- * Use this to recover when a share has gone stale coordinates that stop
112
- * advancing, or a share you believe has ended but is still reported as active.
113
- * Without it the only remedy is asking the contact to stop and re-share, which is
114
- * confusing for them because their phone still shows everything as working.
110
+ * Returns `202` when the request is accepted. The stop is carried out on the
111
+ * contact's device, and the `location.sharing.stopped` webhook fires once sharing
112
+ * has ended.
115
113
  *
116
- * This is not reversible from the API. Sharing can only resume when the contact
117
- * starts a new share, so prompt them to re-share afterwards. Request a new one
118
- * with `POST /v3/chats/{chatId}/location/request`.
114
+ * Sharing is per contact, so this ends that contact's share in every chat you have
115
+ * with them.
119
116
  *
120
- * Apple keeps one location-sharing relationship per person rather than per chat,
121
- * so this ends that contact's share everywhere, not only in this chat.
122
- *
123
- * `handle` names whose share to end, and is always required — a group chat can
124
- * have several people sharing, and this is not an operation to infer a target for.
125
- *
126
- * **This returns `202`, not `200`.** The removal happens on the device that holds
127
- * the sharing relationship, so a success here means the request was accepted, not
128
- * that sharing has ended. Wait for the `location.sharing.stopped` webhook to
129
- * confirm it — that webhook is what tells you the contact's device has actually
130
- * let go.
131
- *
132
- * Returns `404` if the contact is not currently sharing.
117
+ * Returns `404` if the contact isn't currently sharing.
133
118
  *
134
119
  * @example
135
120
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../src/resources/chats/location.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAOvF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAItF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,IAAI,CACF,MAAM,EAAE,MAAM,EACd,IAAI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,EAAE,OAAO,CAAC,UAAU,CAAC;YAE/B,IAAI,EAAE,SAAS,CAAC;SACjB;QAED,UAAiB,OAAO,CAAC;YACvB,UAAiB,QAAQ;gBACvB;;mBAEG;gBACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;gBAE3B,IAAI,EAAE,OAAO,CAAC;aACf;YAED,UAAiB,UAAU;gBACzB;;mBAEG;gBACH,MAAM,EAAE,MAAM,CAAC;gBAEf;;mBAEG;gBACH,OAAO,CAAC,EAAE,MAAM,CAAC;gBAEjB;;mBAEG;gBACH,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAElB;;mBAEG;gBACH,UAAU,CAAC,EAAE,MAAM,CAAC;aACrB;SACF;KACF;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -115,32 +115,17 @@ class Location extends resource_1.APIResource {
115
115
  return this._client.post((0, path_1.path) `/v3/chats/${chatID}/location/request`, options);
116
116
  }
117
117
  /**
118
- * End the location share a contact started with you, as though they had stopped it
119
- * themselves. Their device stops listing you as someone they share with, so they
120
- * can start a fresh share cleanly.
118
+ * Stop a contact's location share with you. `handle` is required and names whose
119
+ * share to end.
121
120
  *
122
- * Use this to recover when a share has gone stale coordinates that stop
123
- * advancing, or a share you believe has ended but is still reported as active.
124
- * Without it the only remedy is asking the contact to stop and re-share, which is
125
- * confusing for them because their phone still shows everything as working.
121
+ * Returns `202` when the request is accepted. The stop is carried out on the
122
+ * contact's device, and the `location.sharing.stopped` webhook fires once sharing
123
+ * has ended.
126
124
  *
127
- * This is not reversible from the API. Sharing can only resume when the contact
128
- * starts a new share, so prompt them to re-share afterwards. Request a new one
129
- * with `POST /v3/chats/{chatId}/location/request`.
125
+ * Sharing is per contact, so this ends that contact's share in every chat you have
126
+ * with them.
130
127
  *
131
- * Apple keeps one location-sharing relationship per person rather than per chat,
132
- * so this ends that contact's share everywhere, not only in this chat.
133
- *
134
- * `handle` names whose share to end, and is always required — a group chat can
135
- * have several people sharing, and this is not an operation to infer a target for.
136
- *
137
- * **This returns `202`, not `200`.** The removal happens on the device that holds
138
- * the sharing relationship, so a success here means the request was accepted, not
139
- * that sharing has ended. Wait for the `location.sharing.stopped` webhook to
140
- * confirm it — that webhook is what tells you the contact's device has actually
141
- * let go.
142
- *
143
- * Returns `404` if the contact is not currently sharing.
128
+ * Returns `404` if the contact isn't currently sharing.
144
129
  *
145
130
  * @example
146
131
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"location.js","sourceRoot":"","sources":["../../src/resources/chats/location.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,MAAM,WAAW,EAAE;YAC1D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,sBAAsB,EAAE,EAAE,OAAO,EAAE,OAAO,CA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MAAM,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,CACF,MAAc,EACd,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,aAAa,MAAM,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF;AAtGD,4BAsGC"}
@@ -112,32 +112,17 @@ export class Location extends APIResource {
112
112
  return this._client.post(path `/v3/chats/${chatID}/location/request`, options);
113
113
  }
114
114
  /**
115
- * End the location share a contact started with you, as though they had stopped it
116
- * themselves. Their device stops listing you as someone they share with, so they
117
- * can start a fresh share cleanly.
115
+ * Stop a contact's location share with you. `handle` is required and names whose
116
+ * share to end.
118
117
  *
119
- * Use this to recover when a share has gone stale coordinates that stop
120
- * advancing, or a share you believe has ended but is still reported as active.
121
- * Without it the only remedy is asking the contact to stop and re-share, which is
122
- * confusing for them because their phone still shows everything as working.
118
+ * Returns `202` when the request is accepted. The stop is carried out on the
119
+ * contact's device, and the `location.sharing.stopped` webhook fires once sharing
120
+ * has ended.
123
121
  *
124
- * This is not reversible from the API. Sharing can only resume when the contact
125
- * starts a new share, so prompt them to re-share afterwards. Request a new one
126
- * with `POST /v3/chats/{chatId}/location/request`.
122
+ * Sharing is per contact, so this ends that contact's share in every chat you have
123
+ * with them.
127
124
  *
128
- * Apple keeps one location-sharing relationship per person rather than per chat,
129
- * so this ends that contact's share everywhere, not only in this chat.
130
- *
131
- * `handle` names whose share to end, and is always required — a group chat can
132
- * have several people sharing, and this is not an operation to infer a target for.
133
- *
134
- * **This returns `202`, not `200`.** The removal happens on the device that holds
135
- * the sharing relationship, so a success here means the request was accepted, not
136
- * that sharing has ended. Wait for the `location.sharing.stopped` webhook to
137
- * confirm it — that webhook is what tells you the contact's device has actually
138
- * let go.
139
- *
140
- * Returns `404` if the contact is not currently sharing.
125
+ * Returns `404` if the contact isn't currently sharing.
141
126
  *
142
127
  * @example
143
128
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"location.mjs","sourceRoot":"","sources":["../../src/resources/chats/location.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,MAAM,WAAW,EAAE;YAC1D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,sBAAsB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,OAAO,CAAC,MAAc,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,aAAa,MAAM,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,IAAI,CACF,MAAc,EACd,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,aAAa,MAAM,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF"}
1
+ {"version":3,"file":"location.mjs","sourceRoot":"","sources":["../../src/resources/chats/location.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,MAAM,WAAW,EAAE;YAC1D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,sBAAsB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC9E,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,OAAO,CAAC,MAAc,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,aAAa,MAAM,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,CACF,MAAc,EACd,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,aAAa,MAAM,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF"}
@@ -118,32 +118,17 @@ export class Location extends APIResource {
118
118
  }
119
119
 
120
120
  /**
121
- * End the location share a contact started with you, as though they had stopped it
122
- * themselves. Their device stops listing you as someone they share with, so they
123
- * can start a fresh share cleanly.
121
+ * Stop a contact's location share with you. `handle` is required and names whose
122
+ * share to end.
124
123
  *
125
- * Use this to recover when a share has gone stale coordinates that stop
126
- * advancing, or a share you believe has ended but is still reported as active.
127
- * Without it the only remedy is asking the contact to stop and re-share, which is
128
- * confusing for them because their phone still shows everything as working.
124
+ * Returns `202` when the request is accepted. The stop is carried out on the
125
+ * contact's device, and the `location.sharing.stopped` webhook fires once sharing
126
+ * has ended.
129
127
  *
130
- * This is not reversible from the API. Sharing can only resume when the contact
131
- * starts a new share, so prompt them to re-share afterwards. Request a new one
132
- * with `POST /v3/chats/{chatId}/location/request`.
128
+ * Sharing is per contact, so this ends that contact's share in every chat you have
129
+ * with them.
133
130
  *
134
- * Apple keeps one location-sharing relationship per person rather than per chat,
135
- * so this ends that contact's share everywhere, not only in this chat.
136
- *
137
- * `handle` names whose share to end, and is always required — a group chat can
138
- * have several people sharing, and this is not an operation to infer a target for.
139
- *
140
- * **This returns `202`, not `200`.** The removal happens on the device that holds
141
- * the sharing relationship, so a success here means the request was accepted, not
142
- * that sharing has ended. Wait for the `location.sharing.stopped` webhook to
143
- * confirm it — that webhook is what tells you the contact's device has actually
144
- * let go.
145
- *
146
- * Returns `404` if the contact is not currently sharing.
131
+ * Returns `404` if the contact isn't currently sharing.
147
132
  *
148
133
  * @example
149
134
  * ```ts
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.66.2'; // x-release-please-version
1
+ export const VERSION = '0.66.3'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.66.2";
1
+ export declare const VERSION = "0.66.3";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.66.2";
1
+ export declare const VERSION = "0.66.3";
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.66.2'; // x-release-please-version
4
+ exports.VERSION = '0.66.3'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.66.2'; // x-release-please-version
1
+ export const VERSION = '0.66.3'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map