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/.editorconfig +15 -0
- package/.gitattributes +3 -0
- package/.github/actions/setup/action.yml +27 -0
- package/.github/workflows/ci.yml +157 -0
- package/.nvmrc +1 -0
- package/.watchmanconfig +1 -0
- package/.yarn/releases/yarn-4.3.1-git.20240705.hash-35167b2.cjs +894 -0
- package/.yarnrc.yml +5 -0
- package/dist/index.d.ts +29 -0
- package/lefthook.yml +35 -0
- package/package.json +1 -1
package/.yarnrc.yml
ADDED
package/dist/index.d.ts
ADDED
|
@@ -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
|