starti.app 2.0.152 → 2.0.155

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.
@@ -6,6 +6,8 @@ export declare class ExternalPurchaseCustomLink extends EventTarget {
6
6
  constructor(startiapp: Startiapp);
7
7
  getTokens(): Promise<TokensResponse>;
8
8
  showNotice(): Promise<NoticeResponse>;
9
+ getCountryCode(): Promise<string | null>;
10
+ canMakePayments(): Promise<boolean>;
9
11
  show(url: string): Promise<boolean>;
10
12
  private handleUserTokensReceived;
11
13
  }
@@ -151,6 +151,8 @@ type MediaIntegration = {
151
151
  type ExternalPurchaseCustomLinkIntegration = {
152
152
  getTokens(): TokensResponse;
153
153
  showNotice(): NoticeResponse;
154
+ canMakePayments(): boolean;
155
+ getCountryCode(): string | null;
154
156
  };
155
157
  export type Integrations = {
156
158
  AppIntegration: AppIntegration;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "starti.app",
3
3
  "author": "starti.app",
4
4
  "license": "MIT",
5
- "version": "2.0.152",
5
+ "version": "2.0.155",
6
6
  "description": "Use this package for easy communication with the starti.app API.",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",