gomarketme-react-native 1.0.13 → 1.0.15

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/.yarnrc.yml ADDED
@@ -0,0 +1,5 @@
1
+ nmHoistingLimits: workspaces
2
+
3
+ nodeLinker: node-modules
4
+
5
+ yarnPath: .yarn/releases/yarn-4.3.1-git.20240705.hash-35167b2.cjs
@@ -0,0 +1,29 @@
1
+ declare class GoMarketMe {
2
+ private static instance;
3
+ private sdkInitializedKey;
4
+ private affiliateCampaignCode;
5
+ private deviceId;
6
+ private sdkInitializationUrl;
7
+ private systemInfoUrl;
8
+ private eventUrl;
9
+ private constructor();
10
+ static getInstance(): GoMarketMe;
11
+ initialize(apiKey: string): Promise<void>;
12
+ private addListener;
13
+ private getSystemInfo;
14
+ private postSDKInitialization;
15
+ private postSystemInfo;
16
+ private readAndroidDeviceInfo;
17
+ private readIosDeviceInfo;
18
+ private getTimeZoneCode;
19
+ private getLanguageCode;
20
+ private fetchPurchases;
21
+ private fetchPurchaseProducts;
22
+ private sendEventToServer;
23
+ private serializePurchaseDetails;
24
+ private serializeProductDetails;
25
+ private markSDKAsInitialized;
26
+ private isSDKInitialized;
27
+ }
28
+ declare const _default: GoMarketMe;
29
+ export default _default;
package/lefthook.yml ADDED
@@ -0,0 +1,35 @@
1
+ # EXAMPLE USAGE:
2
+ #
3
+ # Refer for explanation to following link:
4
+ # https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
5
+ #
6
+ # pre-push:
7
+ # commands:
8
+ # packages-audit:
9
+ # tags: frontend security
10
+ # run: yarn audit
11
+ # gems-audit:
12
+ # tags: backend security
13
+ # run: bundle audit
14
+ #
15
+ # pre-commit:
16
+ # parallel: true
17
+ # commands:
18
+ # eslint:
19
+ # glob: "*.{js,ts,jsx,tsx}"
20
+ # run: yarn eslint {staged_files}
21
+ # rubocop:
22
+ # tags: backend style
23
+ # glob: "*.rb"
24
+ # exclude: '(^|/)(application|routes)\.rb$'
25
+ # run: bundle exec rubocop --force-exclusion {all_files}
26
+ # govet:
27
+ # tags: backend style
28
+ # files: git ls-files -m
29
+ # glob: "*.go"
30
+ # run: go vet {files}
31
+ # scripts:
32
+ # "hello.js":
33
+ # runner: node
34
+ # "any.go":
35
+ # runner: go run
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gomarketme-react-native",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Affiliate Marketing for React Native-Based iOS and Android Apps.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",