@livechat/developer-studio-api 3.2.7 → 3.2.8

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/index.d.mts CHANGED
@@ -617,7 +617,9 @@ type BigCommerceOauthCredential = OAuthCredential<{
617
617
  type HubSpotOauthCredential = OAuthCredential<{
618
618
  appId: string;
619
619
  }, false>;
620
- type TextAuthCredential = OAuthCredential<Record<string, never>, false>;
620
+ type TextAuthCredential = Extract<Credential, {
621
+ type: "text_auth";
622
+ }>;
621
623
  type TextOAuthCredential = OAuthCredential<{
622
624
  appId: string;
623
625
  }, false>;
package/dist/index.d.ts CHANGED
@@ -617,7 +617,9 @@ type BigCommerceOauthCredential = OAuthCredential<{
617
617
  type HubSpotOauthCredential = OAuthCredential<{
618
618
  appId: string;
619
619
  }, false>;
620
- type TextAuthCredential = OAuthCredential<Record<string, never>, false>;
620
+ type TextAuthCredential = Extract<Credential, {
621
+ type: "text_auth";
622
+ }>;
621
623
  type TextOAuthCredential = OAuthCredential<{
622
624
  appId: string;
623
625
  }, false>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.2.7",
3
+ "version": "3.2.8",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",