@tyrads.com/tyrads-sdk 3.3.0 → 3.3.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/ios/Tyrads/Tyrads.swift +6 -3
- package/lib/commonjs/acmo_config.js +2 -2
- package/lib/module/acmo_config.js +2 -2
- package/lib/typescript/commonjs/src/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +1 -1
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/acmo_config.ts +2 -2
- package/src/index.tsx +1 -1
package/ios/Tyrads/Tyrads.swift
CHANGED
|
@@ -105,13 +105,16 @@ public class Tyrads : NSObject {
|
|
|
105
105
|
self.log("iOS version < 14. Advertising ID: \(advertisingId)")
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
let
|
|
109
|
-
|
|
108
|
+
let engagementIDInt: Int? = {
|
|
109
|
+
guard let engagementId = self.engagementId, !engagementId.isEmpty else { return nil }
|
|
110
|
+
return Int(engagementId)
|
|
111
|
+
}()
|
|
112
|
+
|
|
110
113
|
var fd: [String: Any?] = [
|
|
111
114
|
"publisherUserId": userId,
|
|
112
115
|
"platform": "iOS",
|
|
113
116
|
"identifierType": identifierType,
|
|
114
|
-
"engagementId":
|
|
117
|
+
"engagementId": engagementIDInt,
|
|
115
118
|
"identifier": advertisingId,
|
|
116
119
|
"deviceData": deviceDetails
|
|
117
120
|
]
|
|
@@ -8,8 +8,8 @@ class AcmoConfig {
|
|
|
8
8
|
static API_VERSION = "3.0";
|
|
9
9
|
static MAJOR_VERSION = "3";
|
|
10
10
|
static MINOR_VERSION = "3";
|
|
11
|
-
static PATCH_VERSION = "
|
|
12
|
-
static BUILD_VERSION = "
|
|
11
|
+
static PATCH_VERSION = "1";
|
|
12
|
+
static BUILD_VERSION = "1";
|
|
13
13
|
static SDK_PLATFORM = "React Native";
|
|
14
14
|
static SDK_VERSION = `${this.MAJOR_VERSION}.${this.MINOR_VERSION}.${this.PATCH_VERSION}-${this.BUILD_VERSION}`;
|
|
15
15
|
}
|
|
@@ -4,8 +4,8 @@ export class AcmoConfig {
|
|
|
4
4
|
static API_VERSION = "3.0";
|
|
5
5
|
static MAJOR_VERSION = "3";
|
|
6
6
|
static MINOR_VERSION = "3";
|
|
7
|
-
static PATCH_VERSION = "
|
|
8
|
-
static BUILD_VERSION = "
|
|
7
|
+
static PATCH_VERSION = "1";
|
|
8
|
+
static BUILD_VERSION = "1";
|
|
9
9
|
static SDK_PLATFORM = "React Native";
|
|
10
10
|
static SDK_VERSION = `${this.MAJOR_VERSION}.${this.MINOR_VERSION}.${this.PATCH_VERSION}-${this.BUILD_VERSION}`;
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PremiumWidgetStyles } from './acmo/modules/dashboard/top_offers';
|
|
2
2
|
import type { TyradsMediaSourceInfo, TyradsUserInfo } from './acmo/core/types/external_types';
|
|
3
|
-
export type { TyradsMediaSourceInfo } from './acmo/core/types/external_types';
|
|
3
|
+
export type { TyradsMediaSourceInfo, TyradsUserInfo } from './acmo/core/types/external_types';
|
|
4
4
|
declare const Tyrads: {
|
|
5
5
|
init: (apiKey: string, apiSecret: string, encKey?: string, engagementId?: string, mediaSourceInfo?: TyradsMediaSourceInfo, userInfo?: TyradsUserInfo) => Promise<any>;
|
|
6
6
|
loginUser: (userId: string) => Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAEA,OAAkB,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAMrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC9F,YAAY,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAEA,OAAkB,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAMrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC9F,YAAY,EAAE,qBAAqB,EAAE,cAAc,EAAC,MAAM,kCAAkC,CAAA;AA0B5F,QAAA,MAAM,MAAM;mBACW,MAAM,aAAa,MAAM,WAAW,MAAM,iBAAiB,MAAM,oBAAoB,qBAAqB,aAAa,cAAc;wBAuChI,MAAM;sDAoB7B;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;sDAgBnE;QACD,WAAW,CAAC,EAAE,mBAAmB,CAAC;QAClC,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;+CAgB6C;QAC1C,WAAW,CAAC,EAAE,mBAAmB,CAAC;KACnC;2BAQ0B,MAAM;CAGpC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PremiumWidgetStyles } from './acmo/modules/dashboard/top_offers';
|
|
2
2
|
import type { TyradsMediaSourceInfo, TyradsUserInfo } from './acmo/core/types/external_types';
|
|
3
|
-
export type { TyradsMediaSourceInfo } from './acmo/core/types/external_types';
|
|
3
|
+
export type { TyradsMediaSourceInfo, TyradsUserInfo } from './acmo/core/types/external_types';
|
|
4
4
|
declare const Tyrads: {
|
|
5
5
|
init: (apiKey: string, apiSecret: string, encKey?: string, engagementId?: string, mediaSourceInfo?: TyradsMediaSourceInfo, userInfo?: TyradsUserInfo) => Promise<any>;
|
|
6
6
|
loginUser: (userId: string) => Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAEA,OAAkB,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAMrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC9F,YAAY,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAEA,OAAkB,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAMrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC9F,YAAY,EAAE,qBAAqB,EAAE,cAAc,EAAC,MAAM,kCAAkC,CAAA;AA0B5F,QAAA,MAAM,MAAM;mBACW,MAAM,aAAa,MAAM,WAAW,MAAM,iBAAiB,MAAM,oBAAoB,qBAAqB,aAAa,cAAc;wBAuChI,MAAM;sDAoB7B;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;sDAgBnE;QACD,WAAW,CAAC,EAAE,mBAAmB,CAAC;QAClC,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;+CAgB6C;QAC1C,WAAW,CAAC,EAAE,mBAAmB,CAAC;KACnC;2BAQ0B,MAAM;CAGpC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/package.json
CHANGED
package/src/acmo_config.ts
CHANGED
|
@@ -2,8 +2,8 @@ export class AcmoConfig {
|
|
|
2
2
|
public static API_VERSION = "3.0";
|
|
3
3
|
public static MAJOR_VERSION = "3";
|
|
4
4
|
public static MINOR_VERSION = "3";
|
|
5
|
-
public static PATCH_VERSION = "
|
|
6
|
-
public static BUILD_VERSION = "
|
|
5
|
+
public static PATCH_VERSION = "1";
|
|
6
|
+
public static BUILD_VERSION = "1";
|
|
7
7
|
public static SDK_PLATFORM = "React Native";
|
|
8
8
|
public static SDK_VERSION = `${this.MAJOR_VERSION}.${this.MINOR_VERSION}.${this.PATCH_VERSION}-${this.BUILD_VERSION}`;
|
|
9
9
|
}
|
package/src/index.tsx
CHANGED
|
@@ -7,7 +7,7 @@ import { changeProviderLanguage, LocalizationProvider, updateProviderLanguage }
|
|
|
7
7
|
import PremiumWidgetsLoading from './acmo/modules/dashboard/components/premium_loading';
|
|
8
8
|
import TyradsNativeMethods from './acmo/core/helpers/native_methods';
|
|
9
9
|
import type { TyradsMediaSourceInfo, TyradsUserInfo } from './acmo/core/types/external_types';
|
|
10
|
-
export type { TyradsMediaSourceInfo } from './acmo/core/types/external_types'
|
|
10
|
+
export type { TyradsMediaSourceInfo, TyradsUserInfo} from './acmo/core/types/external_types'
|
|
11
11
|
|
|
12
12
|
// const TyradsSdkComposeView = requireNativeComponent('TyradsSdkComposeView');
|
|
13
13
|
|