@seamapi/http 1.29.0 → 1.30.1

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/dist/connect.cjs CHANGED
@@ -284,7 +284,7 @@ var isPersonalAccessToken = (token) => isAccessToken(token);
284
284
 
285
285
  // src/lib/seam/connect/auth.ts
286
286
  var getAuthHeaders = (options) => {
287
- if ("publishableKey" in options) {
287
+ if ("publishableKey" in options && options.publishableKey !== null) {
288
288
  return getAuthHeadersForPublishableKey(options.publishableKey);
289
289
  }
290
290
  if (isSeamHttpOptionsWithApiKey(options)) {
@@ -4582,6 +4582,14 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
4582
4582
  responseKey: void 0
4583
4583
  });
4584
4584
  }
4585
+ generateInstantKey(body) {
4586
+ return new SeamHttpRequest(this, {
4587
+ pathname: "/user_identities/generate_instant_key",
4588
+ method: "post",
4589
+ body,
4590
+ responseKey: "instant_key"
4591
+ });
4592
+ }
4585
4593
  get(body) {
4586
4594
  return new SeamHttpRequest(this, {
4587
4595
  pathname: "/user_identities/get",