@apps-in-toss/web-framework 1.8.1 → 1.9.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/CHANGELOG.md +4 -0
- package/dist/prebuilt/dev.android.js +110 -30
- package/dist/prebuilt/dev.ios.js +110 -30
- package/dist/prebuilt/prod.android.js +94 -2
- package/dist/prebuilt/prod.ios.js +94 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -153360,7 +153360,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
153360
153360
|
var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
|
|
153361
153361
|
context: _context.context
|
|
153362
153362
|
});
|
|
153363
|
-
},1255,[1256,
|
|
153363
|
+
},1255,[1256,2630,9],"react-native/src/_app.tsx");
|
|
153364
153364
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
153365
153365
|
"use strict";
|
|
153366
153366
|
|
|
@@ -156198,6 +156198,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156198
156198
|
return value;
|
|
156199
156199
|
}];
|
|
156200
156200
|
})), {
|
|
156201
|
+
getServerTime_isSupported: import_native_modules23.getServerTime.isSupported,
|
|
156201
156202
|
loadAppsInTossAdMob_isSupported: import_native_modules23.GoogleAdMob.loadAppsInTossAdMob.isSupported,
|
|
156202
156203
|
showAppsInTossAdMob_isSupported: import_native_modules23.GoogleAdMob.showAppsInTossAdMob.isSupported,
|
|
156203
156204
|
isAppsInTossAdMobLoaded_isSupported: import_native_modules23.GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
|
|
@@ -156207,6 +156208,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156207
156208
|
getDeploymentId: _env.getDeploymentId
|
|
156208
156209
|
}),
|
|
156209
156210
|
asyncHandlerMap: Object.assign({}, appsInTossAsyncBridges, {
|
|
156211
|
+
getServerTime: import_native_modules23.getServerTime,
|
|
156210
156212
|
setIosSwipeGestureEnabled: function setIosSwipeGestureEnabled(options) {
|
|
156211
156213
|
setAllowsBackForwardNavigationGestures(options.isEnabled);
|
|
156212
156214
|
return appsInTossAsyncBridges.setIosSwipeGestureEnabled(options);
|
|
@@ -156425,7 +156427,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156425
156427
|
useTopNavigation: _useTopNavigation,
|
|
156426
156428
|
useWaitForReturnNavigator: _useWaitForReturnNavigator
|
|
156427
156429
|
}, _$$_REQUIRE(_dependencyMap[7], "@apps-in-toss/analytics"), _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules"), _$$_REQUIRE(_dependencyMap[21], "@apps-in-toss/types")));
|
|
156428
|
-
},1256,[24,25,32,207,16,61,1257,1258,1259,2,1446,18,6,9,2468,2568,534,2569,
|
|
156430
|
+
},1256,[24,25,32,207,16,61,1257,1258,1259,2,1446,18,6,9,2468,2568,534,2569,2607,2614,2477,1260],"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
|
|
156429
156431
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
156430
156432
|
function _objectDestructuringEmpty(obj) {
|
|
156431
156433
|
if (obj == null) throw new TypeError("Cannot destructure undefined");
|
|
@@ -157186,6 +157188,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157186
157188
|
getSchemeUri: function getSchemeUri() {
|
|
157187
157189
|
return getSchemeUri2;
|
|
157188
157190
|
},
|
|
157191
|
+
getServerTime: function getServerTime() {
|
|
157192
|
+
return _getServerTime;
|
|
157193
|
+
},
|
|
157189
157194
|
getTossAppVersion: function getTossAppVersion() {
|
|
157190
157195
|
return _getTossAppVersion;
|
|
157191
157196
|
},
|
|
@@ -158190,6 +158195,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158190
158195
|
android: "5.237.0",
|
|
158191
158196
|
ios: "5.237.0"
|
|
158192
158197
|
};
|
|
158198
|
+
var GET_SERVER_TIME_MIN_VERSION = {
|
|
158199
|
+
android: "5.245.0",
|
|
158200
|
+
ios: "5.245.0"
|
|
158201
|
+
};
|
|
158193
158202
|
function _openGameCenterLeaderboard() {
|
|
158194
158203
|
return _openGameCenterLeaderboard2.apply(this, arguments);
|
|
158195
158204
|
}
|
|
@@ -158362,6 +158371,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158362
158371
|
});
|
|
158363
158372
|
return _appsInTossSignTossCert2.apply(this, arguments);
|
|
158364
158373
|
}
|
|
158374
|
+
function _getServerTime() {
|
|
158375
|
+
return _getServerTime2.apply(this, arguments);
|
|
158376
|
+
}
|
|
158377
|
+
function _getServerTime2() {
|
|
158378
|
+
_getServerTime2 = _asyncToGenerator(function* () {
|
|
158379
|
+
var isSupported = _isMinVersionSupported(GET_SERVER_TIME_MIN_VERSION);
|
|
158380
|
+
if (!isSupported) {
|
|
158381
|
+
return;
|
|
158382
|
+
}
|
|
158383
|
+
return (yield _AppsInTossModule.getServerTime({})).serverTime;
|
|
158384
|
+
});
|
|
158385
|
+
return _getServerTime2.apply(this, arguments);
|
|
158386
|
+
}
|
|
158387
|
+
_getServerTime.isSupported = function () {
|
|
158388
|
+
return _isMinVersionSupported(GET_SERVER_TIME_MIN_VERSION);
|
|
158389
|
+
};
|
|
158365
158390
|
var _TossPay = {
|
|
158366
158391
|
checkoutPayment: checkoutPayment
|
|
158367
158392
|
};
|
|
@@ -158507,6 +158532,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158507
158532
|
getOperationalEnvironment: _getOperationalEnvironment,
|
|
158508
158533
|
getPlatformOS: _getPlatformOS,
|
|
158509
158534
|
getSchemeUri: getSchemeUri,
|
|
158535
|
+
getServerTime: _getServerTime,
|
|
158510
158536
|
getTossAppVersion: _getTossAppVersion,
|
|
158511
158537
|
getTossShareLink: _getTossShareLink,
|
|
158512
158538
|
getUserKeyForGame: _getUserKeyForGame,
|
|
@@ -232421,7 +232447,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
232421
232447
|
}
|
|
232422
232448
|
});
|
|
232423
232449
|
});
|
|
232424
|
-
|
|
232450
|
+
var _getServerTime = _$$_REQUIRE(_dependencyMap[30], "./AppsInTossModule/native-modules/getServerTime");
|
|
232451
|
+
Object.keys(_getServerTime).forEach(function (key) {
|
|
232452
|
+
if (key === "default" || key === "__esModule") return;
|
|
232453
|
+
if (key in exports && exports[key] === _getServerTime[key]) return;
|
|
232454
|
+
Object.defineProperty(exports, key, {
|
|
232455
|
+
enumerable: true,
|
|
232456
|
+
get: function get() {
|
|
232457
|
+
return _getServerTime[key];
|
|
232458
|
+
}
|
|
232459
|
+
});
|
|
232460
|
+
});
|
|
232461
|
+
},2569,[2570,2572,2573,2574,2575,2576,2577,2578,2579,2581,2582,2583,2585,2586,2587,2588,2589,2590,2591,2594,2595,2596,2597,2598,2599,2601,2602,2603,2604,2605,2606],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
|
|
232425
232462
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
232426
232463
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
232427
232464
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -233158,7 +233195,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233158
233195
|
Object.defineProperty(exports, "__esModule", {
|
|
233159
233196
|
value: true
|
|
233160
233197
|
});
|
|
233161
|
-
exports.GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = exports.GAME_USER_KEY_MIN_VERSION = exports.GAME_PROMOTION_REWARD_MIN_VERSION = exports.GAME_PROFILE_WEBVIEW_URL = exports.GAME_CENTER_MIN_VERSION = void 0;
|
|
233198
|
+
exports.GET_SERVER_TIME_MIN_VERSION = exports.GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = exports.GAME_USER_KEY_MIN_VERSION = exports.GAME_PROMOTION_REWARD_MIN_VERSION = exports.GAME_PROFILE_WEBVIEW_URL = exports.GAME_CENTER_MIN_VERSION = void 0;
|
|
233162
233199
|
var GAME_PROFILE_WEBVIEW_URL = exports.GAME_PROFILE_WEBVIEW_URL = 'https://service.toss.im/game-center/profile';
|
|
233163
233200
|
var GAME_CENTER_MIN_VERSION = exports.GAME_CENTER_MIN_VERSION = {
|
|
233164
233201
|
android: '5.221.0',
|
|
@@ -233176,6 +233213,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233176
233213
|
android: '5.237.0',
|
|
233177
233214
|
ios: '5.237.0'
|
|
233178
233215
|
};
|
|
233216
|
+
var GET_SERVER_TIME_MIN_VERSION = exports.GET_SERVER_TIME_MIN_VERSION = {
|
|
233217
|
+
android: '5.245.0',
|
|
233218
|
+
ios: '5.245.0'
|
|
233219
|
+
};
|
|
233179
233220
|
},2600,[],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/constants.ts");
|
|
233180
233221
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233181
233222
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -233336,6 +233377,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233336
233377
|
return _grantPromotionRewardForGame.apply(this, arguments);
|
|
233337
233378
|
}
|
|
233338
233379
|
},2605,[1,16,2580,2592,2600],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/grantPromotionRewardForGame.ts");
|
|
233380
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233381
|
+
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233382
|
+
Object.defineProperty(exports, "__esModule", {
|
|
233383
|
+
value: true
|
|
233384
|
+
});
|
|
233385
|
+
exports.getServerTime = getServerTime;
|
|
233386
|
+
var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
|
|
233387
|
+
var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[2], "./AppsInTossModule");
|
|
233388
|
+
var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[3], "./isMinVersionSupported");
|
|
233389
|
+
var _constants = _$$_REQUIRE(_dependencyMap[4], "../constants");
|
|
233390
|
+
function getServerTime() {
|
|
233391
|
+
return _getServerTime.apply(this, arguments);
|
|
233392
|
+
}
|
|
233393
|
+
function _getServerTime() {
|
|
233394
|
+
_getServerTime = (0, _asyncToGenerator2.default)(function* () {
|
|
233395
|
+
var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GET_SERVER_TIME_MIN_VERSION);
|
|
233396
|
+
if (!isSupported) {
|
|
233397
|
+
return;
|
|
233398
|
+
}
|
|
233399
|
+
return (yield _AppsInTossModule.AppsInTossModule.getServerTime({})).serverTime;
|
|
233400
|
+
});
|
|
233401
|
+
return _getServerTime.apply(this, arguments);
|
|
233402
|
+
}
|
|
233403
|
+
getServerTime.isSupported = function () {
|
|
233404
|
+
return (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GET_SERVER_TIME_MIN_VERSION);
|
|
233405
|
+
};
|
|
233406
|
+
},2606,[1,16,2580,2592,2600],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getServerTime.ts");
|
|
233339
233407
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233340
233408
|
Object.defineProperty(exports, "__esModule", {
|
|
233341
233409
|
value: true
|
|
@@ -233406,7 +233474,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233406
233474
|
}
|
|
233407
233475
|
});
|
|
233408
233476
|
});
|
|
233409
|
-
},
|
|
233477
|
+
},2607,[2608,2609,2610,2611,2612,2613],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
|
|
233410
233478
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233411
233479
|
Object.defineProperty(exports, "__esModule", {
|
|
233412
233480
|
value: true
|
|
@@ -233425,7 +233493,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233425
233493
|
function replaceUnderbarToHypen(locale) {
|
|
233426
233494
|
return locale.replace(/_/g, '-');
|
|
233427
233495
|
}
|
|
233428
|
-
},
|
|
233496
|
+
},2608,[18,2571],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
|
|
233429
233497
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233430
233498
|
Object.defineProperty(exports, "__esModule", {
|
|
233431
233499
|
value: true
|
|
@@ -233435,7 +233503,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233435
233503
|
function getSchemeUri() {
|
|
233436
233504
|
return _BedrockModule.BedrockModule.schemeUri;
|
|
233437
233505
|
}
|
|
233438
|
-
},
|
|
233506
|
+
},2609,[2571],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
|
|
233439
233507
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233440
233508
|
Object.defineProperty(exports, "__esModule", {
|
|
233441
233509
|
value: true
|
|
@@ -233445,7 +233513,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233445
233513
|
function getPlatformOS() {
|
|
233446
233514
|
return _reactNative.Platform.OS;
|
|
233447
233515
|
}
|
|
233448
|
-
},
|
|
233516
|
+
},2610,[18],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
|
|
233449
233517
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233450
233518
|
Object.defineProperty(exports, "__esModule", {
|
|
233451
233519
|
value: true
|
|
@@ -233455,7 +233523,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233455
233523
|
function getOperationalEnvironment() {
|
|
233456
233524
|
return _AppsInTossModule.AppsInTossModule.operationalEnvironment;
|
|
233457
233525
|
}
|
|
233458
|
-
},
|
|
233526
|
+
},2611,[2580],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getOperationalEnvironment.ts");
|
|
233459
233527
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233460
233528
|
Object.defineProperty(exports, "__esModule", {
|
|
233461
233529
|
value: true
|
|
@@ -233465,7 +233533,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233465
233533
|
function getTossAppVersion() {
|
|
233466
233534
|
return _AppsInTossModule.AppsInTossModule.tossAppVersion;
|
|
233467
233535
|
}
|
|
233468
|
-
},
|
|
233536
|
+
},2612,[2580],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getTossAppVersion.ts");
|
|
233469
233537
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233470
233538
|
Object.defineProperty(exports, "__esModule", {
|
|
233471
233539
|
value: true
|
|
@@ -233475,7 +233543,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233475
233543
|
function getDeviceId() {
|
|
233476
233544
|
return _AppsInTossModule.AppsInTossModule.deviceId;
|
|
233477
233545
|
}
|
|
233478
|
-
},
|
|
233546
|
+
},2613,[2580],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getDeviceId.ts");
|
|
233479
233547
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233480
233548
|
Object.defineProperty(exports, "__esModule", {
|
|
233481
233549
|
value: true
|
|
@@ -233513,7 +233581,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233513
233581
|
}
|
|
233514
233582
|
});
|
|
233515
233583
|
});
|
|
233516
|
-
},
|
|
233584
|
+
},2614,[2615,2629,2628],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
|
|
233517
233585
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233518
233586
|
Object.defineProperty(exports, "__esModule", {
|
|
233519
233587
|
value: true
|
|
@@ -233526,7 +233594,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233526
233594
|
}
|
|
233527
233595
|
startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
|
|
233528
233596
|
startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
|
|
233529
|
-
},
|
|
233597
|
+
},2615,[2616,2623],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
|
|
233530
233598
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233531
233599
|
Object.defineProperty(exports, "__esModule", {
|
|
233532
233600
|
value: true
|
|
@@ -233537,7 +233605,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233537
233605
|
var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[2], "./internal/AppBridgeCallbackEvent");
|
|
233538
233606
|
var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/VisibilityChangedByTransparentServiceWebEvent");
|
|
233539
233607
|
var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
|
|
233540
|
-
},
|
|
233608
|
+
},2616,[2,2617,2619,2622],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
|
|
233541
233609
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233542
233610
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233543
233611
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -233604,7 +233672,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233604
233672
|
}
|
|
233605
233673
|
}]);
|
|
233606
233674
|
}(_reactNative.GraniteEventDefinition);
|
|
233607
|
-
},
|
|
233675
|
+
},2617,[1,24,25,43,46,47,1260,2,2580,2581,2618],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
|
|
233608
233676
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233609
233677
|
Object.defineProperty(exports, "__esModule", {
|
|
233610
233678
|
value: true
|
|
@@ -233613,7 +233681,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233613
233681
|
var _reactNative = _$$_REQUIRE(_dependencyMap[0], "react-native");
|
|
233614
233682
|
var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[1], "../native-modules/AppsInTossModule");
|
|
233615
233683
|
var nativeEventEmitter = exports.nativeEventEmitter = new _reactNative.NativeEventEmitter(_AppsInTossModule.AppsInTossModuleInstance);
|
|
233616
|
-
},
|
|
233684
|
+
},2618,[18,2580],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
|
|
233617
233685
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233618
233686
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233619
233687
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -233666,7 +233734,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233666
233734
|
}
|
|
233667
233735
|
}]);
|
|
233668
233736
|
}(_reactNative.GraniteEventDefinition);
|
|
233669
|
-
},
|
|
233737
|
+
},2619,[1,24,25,43,46,47,2,2620,2618],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
|
|
233670
233738
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233671
233739
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233672
233740
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -233743,7 +233811,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233743
233811
|
unregisterCallback: unregisterCallback,
|
|
233744
233812
|
getCallbackIds: getCallbackIds
|
|
233745
233813
|
};
|
|
233746
|
-
},
|
|
233814
|
+
},2620,[1,61,207,2621,2580],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
|
|
233747
233815
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233748
233816
|
Object.defineProperty(exports, "__esModule", {
|
|
233749
233817
|
value: true
|
|
@@ -233752,7 +233820,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233752
233820
|
function generateUUID(placeholder) {
|
|
233753
233821
|
return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
|
|
233754
233822
|
}
|
|
233755
|
-
},
|
|
233823
|
+
},2621,[],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
|
|
233756
233824
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233757
233825
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233758
233826
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -233810,7 +233878,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233810
233878
|
}
|
|
233811
233879
|
}]);
|
|
233812
233880
|
}(_reactNative.GraniteEventDefinition);
|
|
233813
|
-
},
|
|
233881
|
+
},2622,[1,24,25,43,46,47,2,2618],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
|
|
233814
233882
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233815
233883
|
Object.defineProperty(exports, "__esModule", {
|
|
233816
233884
|
value: true
|
|
@@ -234138,6 +234206,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234138
234206
|
}
|
|
234139
234207
|
});
|
|
234140
234208
|
});
|
|
234209
|
+
var _getServerTime = _$$_REQUIRE(_dependencyMap[28], "./getServerTime");
|
|
234210
|
+
Object.keys(_getServerTime).forEach(function (key) {
|
|
234211
|
+
if (key === "default" || key === "__esModule") return;
|
|
234212
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
234213
|
+
if (key in exports && exports[key] === _getServerTime[key]) return;
|
|
234214
|
+
Object.defineProperty(exports, key, {
|
|
234215
|
+
enumerable: true,
|
|
234216
|
+
get: function get() {
|
|
234217
|
+
return _getServerTime[key];
|
|
234218
|
+
}
|
|
234219
|
+
});
|
|
234220
|
+
});
|
|
234141
234221
|
var TossPay = exports.TossPay = {
|
|
234142
234222
|
checkoutPayment: _checkoutPayment.checkoutPayment
|
|
234143
234223
|
};
|
|
@@ -234146,7 +234226,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234146
234226
|
showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob,
|
|
234147
234227
|
isAppsInTossAdMobLoaded: _googleAdMobV.isAppsInTossAdMobLoaded
|
|
234148
234228
|
};
|
|
234149
|
-
},
|
|
234229
|
+
},2623,[2624,2596,2580,2590,2591,2587,2586,2585,2588,2583,2589,2613,2611,2612,2594,2626,2592,2597,2595,2627,2601,2599,2602,2603,2605,2604,2628,2598,2606],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/index.ts");
|
|
234150
234230
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234151
234231
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
234152
234232
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -234279,7 +234359,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234279
234359
|
});
|
|
234280
234360
|
}
|
|
234281
234361
|
isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
|
|
234282
|
-
},
|
|
234362
|
+
},2624,[1,16,1261,2625,2620,2611,2592],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
|
|
234283
234363
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234284
234364
|
Object.defineProperty(exports, "__esModule", {
|
|
234285
234365
|
value: true
|
|
@@ -234293,7 +234373,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234293
234373
|
return null;
|
|
234294
234374
|
}
|
|
234295
234375
|
}
|
|
234296
|
-
},
|
|
234376
|
+
},2625,[2],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
|
|
234297
234377
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234298
234378
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
234299
234379
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -234488,7 +234568,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234488
234568
|
getCompletedOrRefundedOrders: getCompletedOrRefundedOrders,
|
|
234489
234569
|
completeProductGrant: completeProductGrant
|
|
234490
234570
|
};
|
|
234491
|
-
},
|
|
234571
|
+
},2626,[1,16,1261,2580,2592,2620],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/iap.ts");
|
|
234492
234572
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234493
234573
|
Object.defineProperty(exports, "__esModule", {
|
|
234494
234574
|
value: true
|
|
@@ -234520,7 +234600,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234520
234600
|
removeItem: removeItem,
|
|
234521
234601
|
clearItems: clearItems
|
|
234522
234602
|
};
|
|
234523
|
-
},
|
|
234603
|
+
},2627,[2580],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/storage.ts");
|
|
234524
234604
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234525
234605
|
Object.defineProperty(exports, "__esModule", {
|
|
234526
234606
|
value: true
|
|
@@ -234556,7 +234636,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234556
234636
|
});
|
|
234557
234637
|
return unregisterCallbacks;
|
|
234558
234638
|
}
|
|
234559
|
-
},
|
|
234639
|
+
},2628,[2620,2592],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
|
|
234560
234640
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234561
234641
|
Object.defineProperty(exports, "__esModule", {
|
|
234562
234642
|
value: true
|
|
@@ -234566,7 +234646,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234566
234646
|
function onVisibilityChangedByTransparentServiceWeb(eventParams) {
|
|
234567
234647
|
return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
|
|
234568
234648
|
}
|
|
234569
|
-
},
|
|
234649
|
+
},2629,[2616],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
|
|
234570
234650
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234571
234651
|
Object.defineProperty(exports, "__esModule", {
|
|
234572
234652
|
value: true
|
|
@@ -234581,7 +234661,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234581
234661
|
context.keys = function () {
|
|
234582
234662
|
return Array.from(files.keys());
|
|
234583
234663
|
};
|
|
234584
|
-
},
|
|
234664
|
+
},2630,[2631,2632],"react-native/context.ts");
|
|
234585
234665
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234586
234666
|
Object.defineProperty(exports, "__esModule", {
|
|
234587
234667
|
value: true
|
|
@@ -234614,7 +234694,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234614
234694
|
})
|
|
234615
234695
|
});
|
|
234616
234696
|
}
|
|
234617
|
-
},
|
|
234697
|
+
},2631,[1256,18,9],"react-native/pages/index.tsx");
|
|
234618
234698
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234619
234699
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
234620
234700
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -234627,6 +234707,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234627
234707
|
}
|
|
234628
234708
|
});
|
|
234629
234709
|
var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
|
|
234630
|
-
},
|
|
234710
|
+
},2632,[1,2631],"react-native/pages/_404.tsx");
|
|
234631
234711
|
__r(133);
|
|
234632
234712
|
__r(0);
|
package/dist/prebuilt/dev.ios.js
CHANGED
|
@@ -153181,7 +153181,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
153181
153181
|
var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
|
|
153182
153182
|
context: _context.context
|
|
153183
153183
|
});
|
|
153184
|
-
},1255,[1256,
|
|
153184
|
+
},1255,[1256,2629,9],"react-native/src/_app.tsx");
|
|
153185
153185
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
153186
153186
|
"use strict";
|
|
153187
153187
|
|
|
@@ -156019,6 +156019,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156019
156019
|
return value;
|
|
156020
156020
|
}];
|
|
156021
156021
|
})), {
|
|
156022
|
+
getServerTime_isSupported: import_native_modules23.getServerTime.isSupported,
|
|
156022
156023
|
loadAppsInTossAdMob_isSupported: import_native_modules23.GoogleAdMob.loadAppsInTossAdMob.isSupported,
|
|
156023
156024
|
showAppsInTossAdMob_isSupported: import_native_modules23.GoogleAdMob.showAppsInTossAdMob.isSupported,
|
|
156024
156025
|
isAppsInTossAdMobLoaded_isSupported: import_native_modules23.GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
|
|
@@ -156028,6 +156029,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156028
156029
|
getDeploymentId: _env.getDeploymentId
|
|
156029
156030
|
}),
|
|
156030
156031
|
asyncHandlerMap: Object.assign({}, appsInTossAsyncBridges, {
|
|
156032
|
+
getServerTime: import_native_modules23.getServerTime,
|
|
156031
156033
|
setIosSwipeGestureEnabled: function setIosSwipeGestureEnabled(options) {
|
|
156032
156034
|
setAllowsBackForwardNavigationGestures(options.isEnabled);
|
|
156033
156035
|
return appsInTossAsyncBridges.setIosSwipeGestureEnabled(options);
|
|
@@ -156246,7 +156248,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156246
156248
|
useTopNavigation: _useTopNavigation,
|
|
156247
156249
|
useWaitForReturnNavigator: _useWaitForReturnNavigator
|
|
156248
156250
|
}, _$$_REQUIRE(_dependencyMap[7], "@apps-in-toss/analytics"), _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules"), _$$_REQUIRE(_dependencyMap[21], "@apps-in-toss/types")));
|
|
156249
|
-
},1256,[24,25,32,207,16,61,1257,1258,1259,2,1446,18,6,9,2467,2567,532,2568,
|
|
156251
|
+
},1256,[24,25,32,207,16,61,1257,1258,1259,2,1446,18,6,9,2467,2567,532,2568,2606,2613,2476,1260],"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
|
|
156250
156252
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
156251
156253
|
function _objectDestructuringEmpty(obj) {
|
|
156252
156254
|
if (obj == null) throw new TypeError("Cannot destructure undefined");
|
|
@@ -157007,6 +157009,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
157007
157009
|
getSchemeUri: function getSchemeUri() {
|
|
157008
157010
|
return getSchemeUri2;
|
|
157009
157011
|
},
|
|
157012
|
+
getServerTime: function getServerTime() {
|
|
157013
|
+
return _getServerTime;
|
|
157014
|
+
},
|
|
157010
157015
|
getTossAppVersion: function getTossAppVersion() {
|
|
157011
157016
|
return _getTossAppVersion;
|
|
157012
157017
|
},
|
|
@@ -158011,6 +158016,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158011
158016
|
android: "5.237.0",
|
|
158012
158017
|
ios: "5.237.0"
|
|
158013
158018
|
};
|
|
158019
|
+
var GET_SERVER_TIME_MIN_VERSION = {
|
|
158020
|
+
android: "5.245.0",
|
|
158021
|
+
ios: "5.245.0"
|
|
158022
|
+
};
|
|
158014
158023
|
function _openGameCenterLeaderboard() {
|
|
158015
158024
|
return _openGameCenterLeaderboard2.apply(this, arguments);
|
|
158016
158025
|
}
|
|
@@ -158183,6 +158192,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158183
158192
|
});
|
|
158184
158193
|
return _appsInTossSignTossCert2.apply(this, arguments);
|
|
158185
158194
|
}
|
|
158195
|
+
function _getServerTime() {
|
|
158196
|
+
return _getServerTime2.apply(this, arguments);
|
|
158197
|
+
}
|
|
158198
|
+
function _getServerTime2() {
|
|
158199
|
+
_getServerTime2 = _asyncToGenerator(function* () {
|
|
158200
|
+
var isSupported = _isMinVersionSupported(GET_SERVER_TIME_MIN_VERSION);
|
|
158201
|
+
if (!isSupported) {
|
|
158202
|
+
return;
|
|
158203
|
+
}
|
|
158204
|
+
return (yield _AppsInTossModule.getServerTime({})).serverTime;
|
|
158205
|
+
});
|
|
158206
|
+
return _getServerTime2.apply(this, arguments);
|
|
158207
|
+
}
|
|
158208
|
+
_getServerTime.isSupported = function () {
|
|
158209
|
+
return _isMinVersionSupported(GET_SERVER_TIME_MIN_VERSION);
|
|
158210
|
+
};
|
|
158186
158211
|
var _TossPay = {
|
|
158187
158212
|
checkoutPayment: checkoutPayment
|
|
158188
158213
|
};
|
|
@@ -158328,6 +158353,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
158328
158353
|
getOperationalEnvironment: _getOperationalEnvironment,
|
|
158329
158354
|
getPlatformOS: _getPlatformOS,
|
|
158330
158355
|
getSchemeUri: getSchemeUri,
|
|
158356
|
+
getServerTime: _getServerTime,
|
|
158331
158357
|
getTossAppVersion: _getTossAppVersion,
|
|
158332
158358
|
getTossShareLink: _getTossShareLink,
|
|
158333
158359
|
getUserKeyForGame: _getUserKeyForGame,
|
|
@@ -232261,7 +232287,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
232261
232287
|
}
|
|
232262
232288
|
});
|
|
232263
232289
|
});
|
|
232264
|
-
|
|
232290
|
+
var _getServerTime = _$$_REQUIRE(_dependencyMap[30], "./AppsInTossModule/native-modules/getServerTime");
|
|
232291
|
+
Object.keys(_getServerTime).forEach(function (key) {
|
|
232292
|
+
if (key === "default" || key === "__esModule") return;
|
|
232293
|
+
if (key in exports && exports[key] === _getServerTime[key]) return;
|
|
232294
|
+
Object.defineProperty(exports, key, {
|
|
232295
|
+
enumerable: true,
|
|
232296
|
+
get: function get() {
|
|
232297
|
+
return _getServerTime[key];
|
|
232298
|
+
}
|
|
232299
|
+
});
|
|
232300
|
+
});
|
|
232301
|
+
},2568,[2569,2571,2572,2573,2574,2575,2576,2577,2578,2580,2581,2582,2584,2585,2586,2587,2588,2589,2590,2593,2594,2595,2596,2597,2598,2600,2601,2602,2603,2604,2605],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
|
|
232265
232302
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
232266
232303
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
232267
232304
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -232998,7 +233035,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
232998
233035
|
Object.defineProperty(exports, "__esModule", {
|
|
232999
233036
|
value: true
|
|
233000
233037
|
});
|
|
233001
|
-
exports.GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = exports.GAME_USER_KEY_MIN_VERSION = exports.GAME_PROMOTION_REWARD_MIN_VERSION = exports.GAME_PROFILE_WEBVIEW_URL = exports.GAME_CENTER_MIN_VERSION = void 0;
|
|
233038
|
+
exports.GET_SERVER_TIME_MIN_VERSION = exports.GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = exports.GAME_USER_KEY_MIN_VERSION = exports.GAME_PROMOTION_REWARD_MIN_VERSION = exports.GAME_PROFILE_WEBVIEW_URL = exports.GAME_CENTER_MIN_VERSION = void 0;
|
|
233002
233039
|
var GAME_PROFILE_WEBVIEW_URL = exports.GAME_PROFILE_WEBVIEW_URL = 'https://service.toss.im/game-center/profile';
|
|
233003
233040
|
var GAME_CENTER_MIN_VERSION = exports.GAME_CENTER_MIN_VERSION = {
|
|
233004
233041
|
android: '5.221.0',
|
|
@@ -233016,6 +233053,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233016
233053
|
android: '5.237.0',
|
|
233017
233054
|
ios: '5.237.0'
|
|
233018
233055
|
};
|
|
233056
|
+
var GET_SERVER_TIME_MIN_VERSION = exports.GET_SERVER_TIME_MIN_VERSION = {
|
|
233057
|
+
android: '5.245.0',
|
|
233058
|
+
ios: '5.245.0'
|
|
233059
|
+
};
|
|
233019
233060
|
},2599,[],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/constants.ts");
|
|
233020
233061
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233021
233062
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -233176,6 +233217,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233176
233217
|
return _grantPromotionRewardForGame.apply(this, arguments);
|
|
233177
233218
|
}
|
|
233178
233219
|
},2604,[1,16,2579,2591,2599],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/grantPromotionRewardForGame.ts");
|
|
233220
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233221
|
+
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233222
|
+
Object.defineProperty(exports, "__esModule", {
|
|
233223
|
+
value: true
|
|
233224
|
+
});
|
|
233225
|
+
exports.getServerTime = getServerTime;
|
|
233226
|
+
var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
|
|
233227
|
+
var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[2], "./AppsInTossModule");
|
|
233228
|
+
var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[3], "./isMinVersionSupported");
|
|
233229
|
+
var _constants = _$$_REQUIRE(_dependencyMap[4], "../constants");
|
|
233230
|
+
function getServerTime() {
|
|
233231
|
+
return _getServerTime.apply(this, arguments);
|
|
233232
|
+
}
|
|
233233
|
+
function _getServerTime() {
|
|
233234
|
+
_getServerTime = (0, _asyncToGenerator2.default)(function* () {
|
|
233235
|
+
var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GET_SERVER_TIME_MIN_VERSION);
|
|
233236
|
+
if (!isSupported) {
|
|
233237
|
+
return;
|
|
233238
|
+
}
|
|
233239
|
+
return (yield _AppsInTossModule.AppsInTossModule.getServerTime({})).serverTime;
|
|
233240
|
+
});
|
|
233241
|
+
return _getServerTime.apply(this, arguments);
|
|
233242
|
+
}
|
|
233243
|
+
getServerTime.isSupported = function () {
|
|
233244
|
+
return (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GET_SERVER_TIME_MIN_VERSION);
|
|
233245
|
+
};
|
|
233246
|
+
},2605,[1,16,2579,2591,2599],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getServerTime.ts");
|
|
233179
233247
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233180
233248
|
Object.defineProperty(exports, "__esModule", {
|
|
233181
233249
|
value: true
|
|
@@ -233246,7 +233314,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233246
233314
|
}
|
|
233247
233315
|
});
|
|
233248
233316
|
});
|
|
233249
|
-
},
|
|
233317
|
+
},2606,[2607,2608,2609,2610,2611,2612],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
|
|
233250
233318
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233251
233319
|
Object.defineProperty(exports, "__esModule", {
|
|
233252
233320
|
value: true
|
|
@@ -233265,7 +233333,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233265
233333
|
function replaceUnderbarToHypen(locale) {
|
|
233266
233334
|
return locale.replace(/_/g, '-');
|
|
233267
233335
|
}
|
|
233268
|
-
},
|
|
233336
|
+
},2607,[18,2570],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
|
|
233269
233337
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233270
233338
|
Object.defineProperty(exports, "__esModule", {
|
|
233271
233339
|
value: true
|
|
@@ -233275,7 +233343,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233275
233343
|
function getSchemeUri() {
|
|
233276
233344
|
return _BedrockModule.BedrockModule.schemeUri;
|
|
233277
233345
|
}
|
|
233278
|
-
},
|
|
233346
|
+
},2608,[2570],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
|
|
233279
233347
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233280
233348
|
Object.defineProperty(exports, "__esModule", {
|
|
233281
233349
|
value: true
|
|
@@ -233285,7 +233353,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233285
233353
|
function getPlatformOS() {
|
|
233286
233354
|
return _reactNative.Platform.OS;
|
|
233287
233355
|
}
|
|
233288
|
-
},
|
|
233356
|
+
},2609,[18],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
|
|
233289
233357
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233290
233358
|
Object.defineProperty(exports, "__esModule", {
|
|
233291
233359
|
value: true
|
|
@@ -233295,7 +233363,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233295
233363
|
function getOperationalEnvironment() {
|
|
233296
233364
|
return _AppsInTossModule.AppsInTossModule.operationalEnvironment;
|
|
233297
233365
|
}
|
|
233298
|
-
},
|
|
233366
|
+
},2610,[2579],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getOperationalEnvironment.ts");
|
|
233299
233367
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233300
233368
|
Object.defineProperty(exports, "__esModule", {
|
|
233301
233369
|
value: true
|
|
@@ -233305,7 +233373,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233305
233373
|
function getTossAppVersion() {
|
|
233306
233374
|
return _AppsInTossModule.AppsInTossModule.tossAppVersion;
|
|
233307
233375
|
}
|
|
233308
|
-
},
|
|
233376
|
+
},2611,[2579],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getTossAppVersion.ts");
|
|
233309
233377
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233310
233378
|
Object.defineProperty(exports, "__esModule", {
|
|
233311
233379
|
value: true
|
|
@@ -233315,7 +233383,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233315
233383
|
function getDeviceId() {
|
|
233316
233384
|
return _AppsInTossModule.AppsInTossModule.deviceId;
|
|
233317
233385
|
}
|
|
233318
|
-
},
|
|
233386
|
+
},2612,[2579],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getDeviceId.ts");
|
|
233319
233387
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233320
233388
|
Object.defineProperty(exports, "__esModule", {
|
|
233321
233389
|
value: true
|
|
@@ -233353,7 +233421,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233353
233421
|
}
|
|
233354
233422
|
});
|
|
233355
233423
|
});
|
|
233356
|
-
},
|
|
233424
|
+
},2613,[2614,2628,2627],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
|
|
233357
233425
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233358
233426
|
Object.defineProperty(exports, "__esModule", {
|
|
233359
233427
|
value: true
|
|
@@ -233366,7 +233434,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233366
233434
|
}
|
|
233367
233435
|
startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
|
|
233368
233436
|
startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
|
|
233369
|
-
},
|
|
233437
|
+
},2614,[2615,2622],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
|
|
233370
233438
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233371
233439
|
Object.defineProperty(exports, "__esModule", {
|
|
233372
233440
|
value: true
|
|
@@ -233377,7 +233445,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233377
233445
|
var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[2], "./internal/AppBridgeCallbackEvent");
|
|
233378
233446
|
var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/VisibilityChangedByTransparentServiceWebEvent");
|
|
233379
233447
|
var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
|
|
233380
|
-
},
|
|
233448
|
+
},2615,[2,2616,2618,2621],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
|
|
233381
233449
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233382
233450
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233383
233451
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -233444,7 +233512,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233444
233512
|
}
|
|
233445
233513
|
}]);
|
|
233446
233514
|
}(_reactNative.GraniteEventDefinition);
|
|
233447
|
-
},
|
|
233515
|
+
},2616,[1,24,25,43,46,47,1260,2,2579,2580,2617],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
|
|
233448
233516
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233449
233517
|
Object.defineProperty(exports, "__esModule", {
|
|
233450
233518
|
value: true
|
|
@@ -233453,7 +233521,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233453
233521
|
var _reactNative = _$$_REQUIRE(_dependencyMap[0], "react-native");
|
|
233454
233522
|
var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[1], "../native-modules/AppsInTossModule");
|
|
233455
233523
|
var nativeEventEmitter = exports.nativeEventEmitter = new _reactNative.NativeEventEmitter(_AppsInTossModule.AppsInTossModuleInstance);
|
|
233456
|
-
},
|
|
233524
|
+
},2617,[18,2579],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
|
|
233457
233525
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233458
233526
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233459
233527
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -233506,7 +233574,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233506
233574
|
}
|
|
233507
233575
|
}]);
|
|
233508
233576
|
}(_reactNative.GraniteEventDefinition);
|
|
233509
|
-
},
|
|
233577
|
+
},2618,[1,24,25,43,46,47,2,2619,2617],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
|
|
233510
233578
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233511
233579
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233512
233580
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -233583,7 +233651,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233583
233651
|
unregisterCallback: unregisterCallback,
|
|
233584
233652
|
getCallbackIds: getCallbackIds
|
|
233585
233653
|
};
|
|
233586
|
-
},
|
|
233654
|
+
},2619,[1,61,207,2620,2579],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
|
|
233587
233655
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233588
233656
|
Object.defineProperty(exports, "__esModule", {
|
|
233589
233657
|
value: true
|
|
@@ -233592,7 +233660,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233592
233660
|
function generateUUID(placeholder) {
|
|
233593
233661
|
return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
|
|
233594
233662
|
}
|
|
233595
|
-
},
|
|
233663
|
+
},2620,[],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
|
|
233596
233664
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233597
233665
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233598
233666
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -233650,7 +233718,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233650
233718
|
}
|
|
233651
233719
|
}]);
|
|
233652
233720
|
}(_reactNative.GraniteEventDefinition);
|
|
233653
|
-
},
|
|
233721
|
+
},2621,[1,24,25,43,46,47,2,2617],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
|
|
233654
233722
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233655
233723
|
Object.defineProperty(exports, "__esModule", {
|
|
233656
233724
|
value: true
|
|
@@ -233978,6 +234046,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233978
234046
|
}
|
|
233979
234047
|
});
|
|
233980
234048
|
});
|
|
234049
|
+
var _getServerTime = _$$_REQUIRE(_dependencyMap[28], "./getServerTime");
|
|
234050
|
+
Object.keys(_getServerTime).forEach(function (key) {
|
|
234051
|
+
if (key === "default" || key === "__esModule") return;
|
|
234052
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
234053
|
+
if (key in exports && exports[key] === _getServerTime[key]) return;
|
|
234054
|
+
Object.defineProperty(exports, key, {
|
|
234055
|
+
enumerable: true,
|
|
234056
|
+
get: function get() {
|
|
234057
|
+
return _getServerTime[key];
|
|
234058
|
+
}
|
|
234059
|
+
});
|
|
234060
|
+
});
|
|
233981
234061
|
var TossPay = exports.TossPay = {
|
|
233982
234062
|
checkoutPayment: _checkoutPayment.checkoutPayment
|
|
233983
234063
|
};
|
|
@@ -233986,7 +234066,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
233986
234066
|
showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob,
|
|
233987
234067
|
isAppsInTossAdMobLoaded: _googleAdMobV.isAppsInTossAdMobLoaded
|
|
233988
234068
|
};
|
|
233989
|
-
},
|
|
234069
|
+
},2622,[2623,2595,2579,2589,2590,2586,2585,2584,2587,2582,2588,2612,2610,2611,2593,2625,2591,2596,2594,2626,2600,2598,2601,2602,2604,2603,2627,2597,2605],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/index.ts");
|
|
233990
234070
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
233991
234071
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
233992
234072
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -234119,7 +234199,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234119
234199
|
});
|
|
234120
234200
|
}
|
|
234121
234201
|
isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
|
|
234122
|
-
},
|
|
234202
|
+
},2623,[1,16,1261,2624,2619,2610,2591],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
|
|
234123
234203
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234124
234204
|
Object.defineProperty(exports, "__esModule", {
|
|
234125
234205
|
value: true
|
|
@@ -234133,7 +234213,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234133
234213
|
return null;
|
|
234134
234214
|
}
|
|
234135
234215
|
}
|
|
234136
|
-
},
|
|
234216
|
+
},2624,[2],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
|
|
234137
234217
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234138
234218
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
234139
234219
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -234328,7 +234408,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234328
234408
|
getCompletedOrRefundedOrders: getCompletedOrRefundedOrders,
|
|
234329
234409
|
completeProductGrant: completeProductGrant
|
|
234330
234410
|
};
|
|
234331
|
-
},
|
|
234411
|
+
},2625,[1,16,1261,2579,2591,2619],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/iap.ts");
|
|
234332
234412
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234333
234413
|
Object.defineProperty(exports, "__esModule", {
|
|
234334
234414
|
value: true
|
|
@@ -234360,7 +234440,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234360
234440
|
removeItem: removeItem,
|
|
234361
234441
|
clearItems: clearItems
|
|
234362
234442
|
};
|
|
234363
|
-
},
|
|
234443
|
+
},2626,[2579],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/storage.ts");
|
|
234364
234444
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234365
234445
|
Object.defineProperty(exports, "__esModule", {
|
|
234366
234446
|
value: true
|
|
@@ -234396,7 +234476,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234396
234476
|
});
|
|
234397
234477
|
return unregisterCallbacks;
|
|
234398
234478
|
}
|
|
234399
|
-
},
|
|
234479
|
+
},2627,[2619,2591],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
|
|
234400
234480
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234401
234481
|
Object.defineProperty(exports, "__esModule", {
|
|
234402
234482
|
value: true
|
|
@@ -234406,7 +234486,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234406
234486
|
function onVisibilityChangedByTransparentServiceWeb(eventParams) {
|
|
234407
234487
|
return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
|
|
234408
234488
|
}
|
|
234409
|
-
},
|
|
234489
|
+
},2628,[2615],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
|
|
234410
234490
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234411
234491
|
Object.defineProperty(exports, "__esModule", {
|
|
234412
234492
|
value: true
|
|
@@ -234421,7 +234501,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234421
234501
|
context.keys = function () {
|
|
234422
234502
|
return Array.from(files.keys());
|
|
234423
234503
|
};
|
|
234424
|
-
},
|
|
234504
|
+
},2629,[2630,2631],"react-native/context.ts");
|
|
234425
234505
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234426
234506
|
Object.defineProperty(exports, "__esModule", {
|
|
234427
234507
|
value: true
|
|
@@ -234454,7 +234534,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234454
234534
|
})
|
|
234455
234535
|
});
|
|
234456
234536
|
}
|
|
234457
|
-
},
|
|
234537
|
+
},2630,[1256,18,9],"react-native/pages/index.tsx");
|
|
234458
234538
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
234459
234539
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
234460
234540
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -234467,6 +234547,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
234467
234547
|
}
|
|
234468
234548
|
});
|
|
234469
234549
|
var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
|
|
234470
|
-
},
|
|
234550
|
+
},2631,[1,2630],"react-native/pages/_404.tsx");
|
|
234471
234551
|
__r(134);
|
|
234472
234552
|
__r(0);
|
|
@@ -11551,6 +11551,36 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11551
11551
|
});
|
|
11552
11552
|
return _getGameCenterGameProfile.apply(this, arguments);
|
|
11553
11553
|
}
|
|
11554
|
+
function getServerTime() {
|
|
11555
|
+
return _getServerTime.apply(this, arguments);
|
|
11556
|
+
}
|
|
11557
|
+
function _getServerTime() {
|
|
11558
|
+
_getServerTime = // src/AppsInTossModule/native-modules/getServerTime.ts
|
|
11559
|
+
_async_to_generator(function() {
|
|
11560
|
+
var isSupported;
|
|
11561
|
+
return __generator(this, function(_state) {
|
|
11562
|
+
switch (_state.label) {
|
|
11563
|
+
case 0:
|
|
11564
|
+
isSupported = isMinVersionSupported(GET_SERVER_TIME_MIN_VERSION);
|
|
11565
|
+
if (!isSupported) {
|
|
11566
|
+
return [
|
|
11567
|
+
2
|
|
11568
|
+
];
|
|
11569
|
+
}
|
|
11570
|
+
return [
|
|
11571
|
+
4,
|
|
11572
|
+
AppsInTossModule.getServerTime({})
|
|
11573
|
+
];
|
|
11574
|
+
case 1:
|
|
11575
|
+
return [
|
|
11576
|
+
2,
|
|
11577
|
+
_state.sent().serverTime
|
|
11578
|
+
];
|
|
11579
|
+
}
|
|
11580
|
+
});
|
|
11581
|
+
});
|
|
11582
|
+
return _getServerTime.apply(this, arguments);
|
|
11583
|
+
}
|
|
11554
11584
|
function startUpdateLocation(eventParams) {
|
|
11555
11585
|
return appsInTossEvent.addEventListener("updateLocationEvent", eventParams);
|
|
11556
11586
|
}
|
|
@@ -11597,7 +11627,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11597
11627
|
}
|
|
11598
11628
|
});
|
|
11599
11629
|
}
|
|
11600
|
-
var import_react_native37, import_react_native38, import_react_native42, import_react_native43, import_react_native44, import_react_native45, import_react_native46, import_react_native47, import_react_native48, Module, AppsInTossModuleInstance, AppsInTossModule, nativeEventEmitter2, UpdateLocationEvent, INTERNAL__callbacks, INTERNAL__appBridgeHandler, UNSAFE__nativeEventEmitter, AppBridgeCallbackEvent, VisibilityChangedByTransparentServiceWebEvent, appsInTossEvent, SEMVER_REGEX, isWildcard, tryParse, coerceTypes, compareValues, parseVersion, compareSegments, compareVersions, ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE, ENVIRONMENT, DEFAULT_MAX_COUNT, DEFAULT_MAX_WIDTH, fetchAlbumPhotos, fetchContacts, getClipboardText, getCurrentLocation, setClipboardText, openCamera, IAP, Storage, GAME_CENTER_MIN_VERSION, GoogleAdMob, BedrockModule, BedrockCoreModule, TossCoreModule, INTERNAL__module;
|
|
11630
|
+
var import_react_native37, import_react_native38, import_react_native42, import_react_native43, import_react_native44, import_react_native45, import_react_native46, import_react_native47, import_react_native48, Module, AppsInTossModuleInstance, AppsInTossModule, nativeEventEmitter2, UpdateLocationEvent, INTERNAL__callbacks, INTERNAL__appBridgeHandler, UNSAFE__nativeEventEmitter, AppBridgeCallbackEvent, VisibilityChangedByTransparentServiceWebEvent, appsInTossEvent, SEMVER_REGEX, isWildcard, tryParse, coerceTypes, compareValues, parseVersion, compareSegments, compareVersions, ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE, ENVIRONMENT, DEFAULT_MAX_COUNT, DEFAULT_MAX_WIDTH, fetchAlbumPhotos, fetchContacts, getClipboardText, getCurrentLocation, setClipboardText, openCamera, IAP, Storage, GAME_CENTER_MIN_VERSION, GET_SERVER_TIME_MIN_VERSION, GoogleAdMob, BedrockModule, BedrockCoreModule, TossCoreModule, INTERNAL__module;
|
|
11601
11631
|
var init_dist6 = __esm({
|
|
11602
11632
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/dist/index.js"() {
|
|
11603
11633
|
"use strict";
|
|
@@ -12023,6 +12053,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
12023
12053
|
android: "5.221.0",
|
|
12024
12054
|
ios: "5.221.0"
|
|
12025
12055
|
};
|
|
12056
|
+
GET_SERVER_TIME_MIN_VERSION = {
|
|
12057
|
+
android: "5.245.0",
|
|
12058
|
+
ios: "5.245.0"
|
|
12059
|
+
};
|
|
12060
|
+
getServerTime.isSupported = function() {
|
|
12061
|
+
return isMinVersionSupported(GET_SERVER_TIME_MIN_VERSION);
|
|
12062
|
+
};
|
|
12026
12063
|
GoogleAdMob = {
|
|
12027
12064
|
loadAppsInTossAdMob,
|
|
12028
12065
|
showAppsInTossAdMob,
|
|
@@ -43661,7 +43698,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
43661
43698
|
});
|
|
43662
43699
|
|
|
43663
43700
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/constants.ts
|
|
43664
|
-
var GAME_CENTER_MIN_VERSION2, GAME_USER_KEY_MIN_VERSION, GAME_PROMOTION_REWARD_MIN_VERSION, GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION;
|
|
43701
|
+
var GAME_CENTER_MIN_VERSION2, GAME_USER_KEY_MIN_VERSION, GAME_PROMOTION_REWARD_MIN_VERSION, GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION, GET_SERVER_TIME_MIN_VERSION2;
|
|
43665
43702
|
var init_constants13 = __esm({
|
|
43666
43703
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/constants.ts"() {
|
|
43667
43704
|
"use strict";
|
|
@@ -43681,6 +43718,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
43681
43718
|
android: "5.237.0",
|
|
43682
43719
|
ios: "5.237.0"
|
|
43683
43720
|
};
|
|
43721
|
+
GET_SERVER_TIME_MIN_VERSION2 = {
|
|
43722
|
+
android: "5.245.0",
|
|
43723
|
+
ios: "5.245.0"
|
|
43724
|
+
};
|
|
43684
43725
|
}
|
|
43685
43726
|
});
|
|
43686
43727
|
|
|
@@ -43985,6 +44026,50 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
43985
44026
|
}
|
|
43986
44027
|
});
|
|
43987
44028
|
|
|
44029
|
+
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getServerTime.ts
|
|
44030
|
+
function getServerTime2() {
|
|
44031
|
+
return _getServerTime2.apply(this, arguments);
|
|
44032
|
+
}
|
|
44033
|
+
function _getServerTime2() {
|
|
44034
|
+
_getServerTime2 = _async_to_generator(function() {
|
|
44035
|
+
var isSupported;
|
|
44036
|
+
return __generator(this, function(_state) {
|
|
44037
|
+
switch (_state.label) {
|
|
44038
|
+
case 0:
|
|
44039
|
+
isSupported = isMinVersionSupported2(GET_SERVER_TIME_MIN_VERSION2);
|
|
44040
|
+
if (!isSupported) {
|
|
44041
|
+
return [
|
|
44042
|
+
2
|
|
44043
|
+
];
|
|
44044
|
+
}
|
|
44045
|
+
return [
|
|
44046
|
+
4,
|
|
44047
|
+
AppsInTossModule2.getServerTime({})
|
|
44048
|
+
];
|
|
44049
|
+
case 1:
|
|
44050
|
+
return [
|
|
44051
|
+
2,
|
|
44052
|
+
_state.sent().serverTime
|
|
44053
|
+
];
|
|
44054
|
+
}
|
|
44055
|
+
});
|
|
44056
|
+
});
|
|
44057
|
+
return _getServerTime2.apply(this, arguments);
|
|
44058
|
+
}
|
|
44059
|
+
var init_getServerTime = __esm({
|
|
44060
|
+
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getServerTime.ts"() {
|
|
44061
|
+
"use strict";
|
|
44062
|
+
init_async_to_generator();
|
|
44063
|
+
init_ts_generator();
|
|
44064
|
+
init_AppsInTossModule();
|
|
44065
|
+
init_isMinVersionSupported();
|
|
44066
|
+
init_constants13();
|
|
44067
|
+
getServerTime2.isSupported = function() {
|
|
44068
|
+
return isMinVersionSupported2(GET_SERVER_TIME_MIN_VERSION2);
|
|
44069
|
+
};
|
|
44070
|
+
}
|
|
44071
|
+
});
|
|
44072
|
+
|
|
43988
44073
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts
|
|
43989
44074
|
var async_bridges_exports = {};
|
|
43990
44075
|
__export(async_bridges_exports, {
|
|
@@ -44030,6 +44115,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44030
44115
|
getPermission: function() {
|
|
44031
44116
|
return getPermission2;
|
|
44032
44117
|
},
|
|
44118
|
+
getServerTime: function() {
|
|
44119
|
+
return getServerTime2;
|
|
44120
|
+
},
|
|
44033
44121
|
getTossShareLink: function() {
|
|
44034
44122
|
return getTossShareLink;
|
|
44035
44123
|
},
|
|
@@ -44112,6 +44200,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44112
44200
|
init_getUserKeyForGame();
|
|
44113
44201
|
init_getIsTossLoginIntegratedService();
|
|
44114
44202
|
init_grantPromotionRewardForGame();
|
|
44203
|
+
init_getServerTime();
|
|
44115
44204
|
}
|
|
44116
44205
|
});
|
|
44117
44206
|
|
|
@@ -44795,6 +44884,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44795
44884
|
init_getIsTossLoginIntegratedService();
|
|
44796
44885
|
init_contactsViral();
|
|
44797
44886
|
init_appsInTossSignTossCert();
|
|
44887
|
+
init_getServerTime();
|
|
44798
44888
|
}
|
|
44799
44889
|
});
|
|
44800
44890
|
|
|
@@ -47063,6 +47153,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47063
47153
|
}
|
|
47064
47154
|
];
|
|
47065
47155
|
}))), {
|
|
47156
|
+
getServerTime_isSupported: getServerTime.isSupported,
|
|
47066
47157
|
/** AdMobV2 */
|
|
47067
47158
|
loadAppsInTossAdMob_isSupported: GoogleAdMob.loadAppsInTossAdMob.isSupported,
|
|
47068
47159
|
showAppsInTossAdMob_isSupported: GoogleAdMob.showAppsInTossAdMob.isSupported,
|
|
@@ -47076,6 +47167,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47076
47167
|
getDeploymentId: env.getDeploymentId
|
|
47077
47168
|
}),
|
|
47078
47169
|
asyncHandlerMap: _object_spread_props(_object_spread({}, async_bridges_exports), {
|
|
47170
|
+
getServerTime,
|
|
47079
47171
|
setIosSwipeGestureEnabled: function(options) {
|
|
47080
47172
|
setAllowsBackForwardNavigationGestures(options.isEnabled);
|
|
47081
47173
|
return setIosSwipeGestureEnabled2(options);
|
|
@@ -11560,6 +11560,36 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11560
11560
|
});
|
|
11561
11561
|
return _getGameCenterGameProfile.apply(this, arguments);
|
|
11562
11562
|
}
|
|
11563
|
+
function getServerTime() {
|
|
11564
|
+
return _getServerTime.apply(this, arguments);
|
|
11565
|
+
}
|
|
11566
|
+
function _getServerTime() {
|
|
11567
|
+
_getServerTime = // src/AppsInTossModule/native-modules/getServerTime.ts
|
|
11568
|
+
_async_to_generator(function() {
|
|
11569
|
+
var isSupported;
|
|
11570
|
+
return __generator(this, function(_state) {
|
|
11571
|
+
switch (_state.label) {
|
|
11572
|
+
case 0:
|
|
11573
|
+
isSupported = isMinVersionSupported(GET_SERVER_TIME_MIN_VERSION);
|
|
11574
|
+
if (!isSupported) {
|
|
11575
|
+
return [
|
|
11576
|
+
2
|
|
11577
|
+
];
|
|
11578
|
+
}
|
|
11579
|
+
return [
|
|
11580
|
+
4,
|
|
11581
|
+
AppsInTossModule.getServerTime({})
|
|
11582
|
+
];
|
|
11583
|
+
case 1:
|
|
11584
|
+
return [
|
|
11585
|
+
2,
|
|
11586
|
+
_state.sent().serverTime
|
|
11587
|
+
];
|
|
11588
|
+
}
|
|
11589
|
+
});
|
|
11590
|
+
});
|
|
11591
|
+
return _getServerTime.apply(this, arguments);
|
|
11592
|
+
}
|
|
11563
11593
|
function startUpdateLocation(eventParams) {
|
|
11564
11594
|
return appsInTossEvent.addEventListener("updateLocationEvent", eventParams);
|
|
11565
11595
|
}
|
|
@@ -11606,7 +11636,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11606
11636
|
}
|
|
11607
11637
|
});
|
|
11608
11638
|
}
|
|
11609
|
-
var import_react_native37, import_react_native38, import_react_native42, import_react_native43, import_react_native44, import_react_native45, import_react_native46, import_react_native47, import_react_native48, Module, AppsInTossModuleInstance, AppsInTossModule, nativeEventEmitter2, UpdateLocationEvent, INTERNAL__callbacks, INTERNAL__appBridgeHandler, UNSAFE__nativeEventEmitter, AppBridgeCallbackEvent, VisibilityChangedByTransparentServiceWebEvent, appsInTossEvent, SEMVER_REGEX, isWildcard, tryParse, coerceTypes, compareValues, parseVersion, compareSegments, compareVersions, ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE, ENVIRONMENT, DEFAULT_MAX_COUNT, DEFAULT_MAX_WIDTH, fetchAlbumPhotos, fetchContacts, getClipboardText, getCurrentLocation, setClipboardText, openCamera, IAP, Storage, GAME_CENTER_MIN_VERSION, GoogleAdMob, BedrockModule, BedrockCoreModule, TossCoreModule, INTERNAL__module;
|
|
11639
|
+
var import_react_native37, import_react_native38, import_react_native42, import_react_native43, import_react_native44, import_react_native45, import_react_native46, import_react_native47, import_react_native48, Module, AppsInTossModuleInstance, AppsInTossModule, nativeEventEmitter2, UpdateLocationEvent, INTERNAL__callbacks, INTERNAL__appBridgeHandler, UNSAFE__nativeEventEmitter, AppBridgeCallbackEvent, VisibilityChangedByTransparentServiceWebEvent, appsInTossEvent, SEMVER_REGEX, isWildcard, tryParse, coerceTypes, compareValues, parseVersion, compareSegments, compareVersions, ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE, ENVIRONMENT, DEFAULT_MAX_COUNT, DEFAULT_MAX_WIDTH, fetchAlbumPhotos, fetchContacts, getClipboardText, getCurrentLocation, setClipboardText, openCamera, IAP, Storage, GAME_CENTER_MIN_VERSION, GET_SERVER_TIME_MIN_VERSION, GoogleAdMob, BedrockModule, BedrockCoreModule, TossCoreModule, INTERNAL__module;
|
|
11610
11640
|
var init_dist6 = __esm({
|
|
11611
11641
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/dist/index.js"() {
|
|
11612
11642
|
"use strict";
|
|
@@ -12032,6 +12062,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
12032
12062
|
android: "5.221.0",
|
|
12033
12063
|
ios: "5.221.0"
|
|
12034
12064
|
};
|
|
12065
|
+
GET_SERVER_TIME_MIN_VERSION = {
|
|
12066
|
+
android: "5.245.0",
|
|
12067
|
+
ios: "5.245.0"
|
|
12068
|
+
};
|
|
12069
|
+
getServerTime.isSupported = function() {
|
|
12070
|
+
return isMinVersionSupported(GET_SERVER_TIME_MIN_VERSION);
|
|
12071
|
+
};
|
|
12035
12072
|
GoogleAdMob = {
|
|
12036
12073
|
loadAppsInTossAdMob,
|
|
12037
12074
|
showAppsInTossAdMob,
|
|
@@ -43670,7 +43707,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
43670
43707
|
});
|
|
43671
43708
|
|
|
43672
43709
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/constants.ts
|
|
43673
|
-
var GAME_CENTER_MIN_VERSION2, GAME_USER_KEY_MIN_VERSION, GAME_PROMOTION_REWARD_MIN_VERSION, GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION;
|
|
43710
|
+
var GAME_CENTER_MIN_VERSION2, GAME_USER_KEY_MIN_VERSION, GAME_PROMOTION_REWARD_MIN_VERSION, GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION, GET_SERVER_TIME_MIN_VERSION2;
|
|
43674
43711
|
var init_constants13 = __esm({
|
|
43675
43712
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/constants.ts"() {
|
|
43676
43713
|
"use strict";
|
|
@@ -43690,6 +43727,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
43690
43727
|
android: "5.237.0",
|
|
43691
43728
|
ios: "5.237.0"
|
|
43692
43729
|
};
|
|
43730
|
+
GET_SERVER_TIME_MIN_VERSION2 = {
|
|
43731
|
+
android: "5.245.0",
|
|
43732
|
+
ios: "5.245.0"
|
|
43733
|
+
};
|
|
43693
43734
|
}
|
|
43694
43735
|
});
|
|
43695
43736
|
|
|
@@ -43994,6 +44035,50 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
43994
44035
|
}
|
|
43995
44036
|
});
|
|
43996
44037
|
|
|
44038
|
+
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getServerTime.ts
|
|
44039
|
+
function getServerTime2() {
|
|
44040
|
+
return _getServerTime2.apply(this, arguments);
|
|
44041
|
+
}
|
|
44042
|
+
function _getServerTime2() {
|
|
44043
|
+
_getServerTime2 = _async_to_generator(function() {
|
|
44044
|
+
var isSupported;
|
|
44045
|
+
return __generator(this, function(_state) {
|
|
44046
|
+
switch (_state.label) {
|
|
44047
|
+
case 0:
|
|
44048
|
+
isSupported = isMinVersionSupported2(GET_SERVER_TIME_MIN_VERSION2);
|
|
44049
|
+
if (!isSupported) {
|
|
44050
|
+
return [
|
|
44051
|
+
2
|
|
44052
|
+
];
|
|
44053
|
+
}
|
|
44054
|
+
return [
|
|
44055
|
+
4,
|
|
44056
|
+
AppsInTossModule2.getServerTime({})
|
|
44057
|
+
];
|
|
44058
|
+
case 1:
|
|
44059
|
+
return [
|
|
44060
|
+
2,
|
|
44061
|
+
_state.sent().serverTime
|
|
44062
|
+
];
|
|
44063
|
+
}
|
|
44064
|
+
});
|
|
44065
|
+
});
|
|
44066
|
+
return _getServerTime2.apply(this, arguments);
|
|
44067
|
+
}
|
|
44068
|
+
var init_getServerTime = __esm({
|
|
44069
|
+
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/getServerTime.ts"() {
|
|
44070
|
+
"use strict";
|
|
44071
|
+
init_async_to_generator();
|
|
44072
|
+
init_ts_generator();
|
|
44073
|
+
init_AppsInTossModule();
|
|
44074
|
+
init_isMinVersionSupported();
|
|
44075
|
+
init_constants13();
|
|
44076
|
+
getServerTime2.isSupported = function() {
|
|
44077
|
+
return isMinVersionSupported2(GET_SERVER_TIME_MIN_VERSION2);
|
|
44078
|
+
};
|
|
44079
|
+
}
|
|
44080
|
+
});
|
|
44081
|
+
|
|
43997
44082
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts
|
|
43998
44083
|
var async_bridges_exports = {};
|
|
43999
44084
|
__export(async_bridges_exports, {
|
|
@@ -44039,6 +44124,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44039
44124
|
getPermission: function() {
|
|
44040
44125
|
return getPermission2;
|
|
44041
44126
|
},
|
|
44127
|
+
getServerTime: function() {
|
|
44128
|
+
return getServerTime2;
|
|
44129
|
+
},
|
|
44042
44130
|
getTossShareLink: function() {
|
|
44043
44131
|
return getTossShareLink;
|
|
44044
44132
|
},
|
|
@@ -44121,6 +44209,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44121
44209
|
init_getUserKeyForGame();
|
|
44122
44210
|
init_getIsTossLoginIntegratedService();
|
|
44123
44211
|
init_grantPromotionRewardForGame();
|
|
44212
|
+
init_getServerTime();
|
|
44124
44213
|
}
|
|
44125
44214
|
});
|
|
44126
44215
|
|
|
@@ -44804,6 +44893,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44804
44893
|
init_getIsTossLoginIntegratedService();
|
|
44805
44894
|
init_contactsViral();
|
|
44806
44895
|
init_appsInTossSignTossCert();
|
|
44896
|
+
init_getServerTime();
|
|
44807
44897
|
}
|
|
44808
44898
|
});
|
|
44809
44899
|
|
|
@@ -47072,6 +47162,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47072
47162
|
}
|
|
47073
47163
|
];
|
|
47074
47164
|
}))), {
|
|
47165
|
+
getServerTime_isSupported: getServerTime.isSupported,
|
|
47075
47166
|
/** AdMobV2 */
|
|
47076
47167
|
loadAppsInTossAdMob_isSupported: GoogleAdMob.loadAppsInTossAdMob.isSupported,
|
|
47077
47168
|
showAppsInTossAdMob_isSupported: GoogleAdMob.showAppsInTossAdMob.isSupported,
|
|
@@ -47085,6 +47176,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47085
47176
|
getDeploymentId: env.getDeploymentId
|
|
47086
47177
|
}),
|
|
47087
47178
|
asyncHandlerMap: _object_spread_props(_object_spread({}, async_bridges_exports), {
|
|
47179
|
+
getServerTime,
|
|
47088
47180
|
setIosSwipeGestureEnabled: function(options) {
|
|
47089
47181
|
setAllowsBackForwardNavigationGestures(options.isEnabled);
|
|
47090
47182
|
return setIosSwipeGestureEnabled2(options);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apps-in-toss/web-framework",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.9.1",
|
|
5
5
|
"description": "Web Framework for Apps In Toss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"typecheck": "tsc --noEmit",
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
"zod": "3.24.4"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@apps-in-toss/bridge-core": "1.
|
|
90
|
-
"@apps-in-toss/cli": "1.
|
|
91
|
-
"@apps-in-toss/framework": "1.
|
|
92
|
-
"@apps-in-toss/plugins": "1.
|
|
93
|
-
"@apps-in-toss/web-analytics": "1.
|
|
94
|
-
"@apps-in-toss/web-bridge": "1.
|
|
89
|
+
"@apps-in-toss/bridge-core": "1.9.1",
|
|
90
|
+
"@apps-in-toss/cli": "1.9.1",
|
|
91
|
+
"@apps-in-toss/framework": "1.9.1",
|
|
92
|
+
"@apps-in-toss/plugins": "1.9.1",
|
|
93
|
+
"@apps-in-toss/web-analytics": "1.9.1",
|
|
94
|
+
"@apps-in-toss/web-bridge": "1.9.1",
|
|
95
95
|
"@babel/core": "7.23.9",
|
|
96
96
|
"@granite-js/cli": "0.1.31",
|
|
97
97
|
"@granite-js/mpack": "0.1.31",
|