@apps-in-toss/web-framework 0.0.28 → 0.0.29
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/dist/config/index.d.ts +5 -0
- package/dist/config/index.js +1 -0
- package/dist/prebuilt/dev.android.js +181 -27
- package/dist/prebuilt/dev.ios.js +181 -27
- package/dist/prebuilt/prod.android.js +147 -5
- package/dist/prebuilt/prod.ios.js +147 -5
- package/dist/prebuilt/prod.json +4 -4
- package/package.json +8 -8
package/dist/prebuilt/dev.ios.js
CHANGED
|
@@ -87621,7 +87621,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
87621
87621
|
var _default = exports.default = TurboModuleRegistry.get('LinkingManager');
|
|
87622
87622
|
},415,[34],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/Linking/NativeLinkingManager.js");
|
|
87623
87623
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
87624
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
87624
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
87625
87625
|
"__packager_asset": true,
|
|
87626
87626
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
87627
87627
|
"width": 28,
|
|
@@ -89309,7 +89309,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89309
89309
|
var _default = exports.default = NativeStatusBarManager;
|
|
89310
89310
|
},432,[34],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js");
|
|
89311
89311
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89312
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89312
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89313
89313
|
"__packager_asset": true,
|
|
89314
89314
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89315
89315
|
"width": 16,
|
|
@@ -89321,7 +89321,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89321
89321
|
});
|
|
89322
89322
|
},433,[417],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/chevron-left.png");
|
|
89323
89323
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89324
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89324
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89325
89325
|
"__packager_asset": true,
|
|
89326
89326
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89327
89327
|
"width": 16,
|
|
@@ -89955,7 +89955,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89955
89955
|
var _default = exports.default = LogBoxInspectorSourceMapStatus;
|
|
89956
89956
|
},438,[318,277,246,382,410,411,8,49,439,440],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js");
|
|
89957
89957
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89958
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89958
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89959
89959
|
"__packager_asset": true,
|
|
89960
89960
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89961
89961
|
"width": 48,
|
|
@@ -89967,7 +89967,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89967
89967
|
});
|
|
89968
89968
|
},439,[417],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png");
|
|
89969
89969
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89970
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89970
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89971
89971
|
"__packager_asset": true,
|
|
89972
89972
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89973
89973
|
"width": 44,
|
|
@@ -108298,7 +108298,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
108298
108298
|
}
|
|
108299
108299
|
},648,[509,8,11,49],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/PlatformPressable.tsx");
|
|
108300
108300
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
108301
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
108301
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
108302
108302
|
"__packager_asset": true,
|
|
108303
108303
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets",
|
|
108304
108304
|
"width": 12,
|
|
@@ -108310,7 +108310,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
108310
108310
|
});
|
|
108311
108311
|
},649,[417],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets/back-icon.png");
|
|
108312
108312
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
108313
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
108313
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
108314
108314
|
"__packager_asset": true,
|
|
108315
108315
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets",
|
|
108316
108316
|
"width": 50,
|
|
@@ -154520,6 +154520,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154520
154520
|
GoogleAdMob: function GoogleAdMob() {
|
|
154521
154521
|
return _GoogleAdMob;
|
|
154522
154522
|
},
|
|
154523
|
+
IAP: function IAP() {
|
|
154524
|
+
return _IAP;
|
|
154525
|
+
},
|
|
154526
|
+
INTERNAL__onVisibilityChangedByTransparentServiceWeb: function INTERNAL__onVisibilityChangedByTransparentServiceWeb() {
|
|
154527
|
+
return _INTERNAL__onVisibilityChangedByTransparentServiceWeb;
|
|
154528
|
+
},
|
|
154523
154529
|
Storage: function Storage() {
|
|
154524
154530
|
return _Storage;
|
|
154525
154531
|
},
|
|
@@ -154571,6 +154577,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154571
154577
|
openCamera: function openCamera() {
|
|
154572
154578
|
return _openCamera;
|
|
154573
154579
|
},
|
|
154580
|
+
saveBase64Data: function saveBase64Data() {
|
|
154581
|
+
return _saveBase64Data;
|
|
154582
|
+
},
|
|
154574
154583
|
setClipboardText: function setClipboardText() {
|
|
154575
154584
|
return _setClipboardText;
|
|
154576
154585
|
},
|
|
@@ -154588,7 +154597,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154588
154597
|
var import_analytics2 = _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics");
|
|
154589
154598
|
var import_analytics = _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics");
|
|
154590
154599
|
var import_react_native6 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
154591
|
-
var
|
|
154600
|
+
var import_react_native_bedrock8 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154592
154601
|
var import_react2 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
154593
154602
|
var import_react_native_bedrock2 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154594
154603
|
var _env = {
|
|
@@ -154778,7 +154787,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154778
154787
|
};
|
|
154779
154788
|
var import_react_native5 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
154780
154789
|
var import_react3 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
154781
|
-
var
|
|
154790
|
+
var import_react_native_bedrock7 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154782
154791
|
var import_react_native_bedrock3 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154783
154792
|
var EntryMessageExitedEvent = function (_import_react_native_) {
|
|
154784
154793
|
function EntryMessageExitedEvent() {
|
|
@@ -154985,7 +154994,50 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154985
154994
|
}
|
|
154986
154995
|
}]);
|
|
154987
154996
|
}(import_react_native_bedrock5.BedrockEventDefinition);
|
|
154988
|
-
var
|
|
154997
|
+
var import_react_native_bedrock6 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154998
|
+
var VisibilityChangedByTransparentServiceWebEvent = function (_import_react_native_4) {
|
|
154999
|
+
function VisibilityChangedByTransparentServiceWebEvent() {
|
|
155000
|
+
var _this5;
|
|
155001
|
+
_classCallCheck(this, VisibilityChangedByTransparentServiceWebEvent);
|
|
155002
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
155003
|
+
args[_key4] = arguments[_key4];
|
|
155004
|
+
}
|
|
155005
|
+
_this5 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
|
|
155006
|
+
_this5.name = "onVisibilityChangedByTransparentServiceWeb";
|
|
155007
|
+
_this5.subscription = null;
|
|
155008
|
+
return _this5;
|
|
155009
|
+
}
|
|
155010
|
+
_inherits(VisibilityChangedByTransparentServiceWebEvent, _import_react_native_4);
|
|
155011
|
+
return _createClass(VisibilityChangedByTransparentServiceWebEvent, [{
|
|
155012
|
+
key: "remove",
|
|
155013
|
+
value: function remove() {
|
|
155014
|
+
var _this$subscription;
|
|
155015
|
+
(_this$subscription = this.subscription) === null || _this$subscription === void 0 || _this$subscription.remove();
|
|
155016
|
+
this.subscription = null;
|
|
155017
|
+
}
|
|
155018
|
+
}, {
|
|
155019
|
+
key: "listener",
|
|
155020
|
+
value: function listener(options, onEvent, onError) {
|
|
155021
|
+
var _this6 = this;
|
|
155022
|
+
var subscription = nativeEventEmitter.addListener("visibilityChangedByTransparentServiceWeb", function (params) {
|
|
155023
|
+
if (_this6.isVisibilityChangedByTransparentServiceWebResult(params)) {
|
|
155024
|
+
if (params.callbackId === options.callbackId) {
|
|
155025
|
+
onEvent(params.isVisible);
|
|
155026
|
+
}
|
|
155027
|
+
} else {
|
|
155028
|
+
onError(new Error("Invalid visibility changed by transparent service web result"));
|
|
155029
|
+
}
|
|
155030
|
+
});
|
|
155031
|
+
this.subscription = subscription;
|
|
155032
|
+
}
|
|
155033
|
+
}, {
|
|
155034
|
+
key: "isVisibilityChangedByTransparentServiceWebResult",
|
|
155035
|
+
value: function isVisibilityChangedByTransparentServiceWebResult(params) {
|
|
155036
|
+
return _typeof(params) === "object" && typeof params.callbackId === "string" && typeof params.isVisible === "boolean";
|
|
155037
|
+
}
|
|
155038
|
+
}]);
|
|
155039
|
+
}(import_react_native_bedrock6.BedrockEventDefinition);
|
|
155040
|
+
var _appsInTossEvent = new import_react_native_bedrock7.BedrockEvent([new UpdateLocationEvent(), new EntryMessageExitedEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
|
|
154989
155041
|
function getAppsInTossGlobals() {
|
|
154990
155042
|
if (global.__appsInToss == null) {
|
|
154991
155043
|
throw new Error("invalid apps-in-toss globals");
|
|
@@ -155047,6 +155099,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155047
155099
|
openCamera: function openCamera() {
|
|
155048
155100
|
return _openCamera;
|
|
155049
155101
|
},
|
|
155102
|
+
saveBase64Data: function saveBase64Data() {
|
|
155103
|
+
return _saveBase64Data;
|
|
155104
|
+
},
|
|
155050
155105
|
setClipboardText: function setClipboardText() {
|
|
155051
155106
|
return _setClipboardText;
|
|
155052
155107
|
},
|
|
@@ -155422,6 +155477,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155422
155477
|
}));
|
|
155423
155478
|
return _setDeviceOrientation2.apply(this, arguments);
|
|
155424
155479
|
}
|
|
155480
|
+
function _saveBase64Data(_x11) {
|
|
155481
|
+
return _saveBase64Data2.apply(this, arguments);
|
|
155482
|
+
}
|
|
155483
|
+
function _saveBase64Data2() {
|
|
155484
|
+
_saveBase64Data2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee16(params) {
|
|
155485
|
+
var isSupported;
|
|
155486
|
+
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
|
155487
|
+
while (1) switch (_context16.prev = _context16.next) {
|
|
155488
|
+
case 0:
|
|
155489
|
+
isSupported = _isMinVersionSupported({
|
|
155490
|
+
android: "5.218.0",
|
|
155491
|
+
ios: "5.216.0"
|
|
155492
|
+
});
|
|
155493
|
+
if (isSupported) {
|
|
155494
|
+
_context16.next = 4;
|
|
155495
|
+
break;
|
|
155496
|
+
}
|
|
155497
|
+
console.warn("saveBase64Data is not supported in this app version");
|
|
155498
|
+
return _context16.abrupt("return");
|
|
155499
|
+
case 4:
|
|
155500
|
+
_context16.next = 6;
|
|
155501
|
+
return AppsInTossModule.saveBase64Data(params);
|
|
155502
|
+
case 6:
|
|
155503
|
+
case "end":
|
|
155504
|
+
return _context16.stop();
|
|
155505
|
+
}
|
|
155506
|
+
}, _callee16);
|
|
155507
|
+
}));
|
|
155508
|
+
return _saveBase64Data2.apply(this, arguments);
|
|
155509
|
+
}
|
|
155425
155510
|
var import_jsx_runtime = _$$_REQUIRE(_dependencyMap[5], "react/jsx-runtime");
|
|
155426
155511
|
function AppsInTossContainer(Container, _ref7) {
|
|
155427
155512
|
var children = _ref7.children,
|
|
@@ -155459,7 +155544,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155459
155544
|
},
|
|
155460
155545
|
debug: (_analytics$debug = analytics === null || analytics === void 0 ? void 0 : analytics.debug) !== null && _analytics$debug !== void 0 ? _analytics$debug : __DEV__
|
|
155461
155546
|
});
|
|
155462
|
-
return
|
|
155547
|
+
return import_react_native_bedrock8.Bedrock.registerApp(AppsInTossContainer.bind(null, container), {
|
|
155463
155548
|
appName: getAppName(),
|
|
155464
155549
|
context: context,
|
|
155465
155550
|
router: {
|
|
@@ -155621,7 +155706,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155621
155706
|
function createIsSupported() {
|
|
155622
155707
|
return function () {
|
|
155623
155708
|
if (ENVIRONMENT !== "toss") {
|
|
155624
|
-
console.warn("Google AdMob is not supported in the current environment");
|
|
155625
155709
|
return false;
|
|
155626
155710
|
}
|
|
155627
155711
|
return _isMinVersionSupported({
|
|
@@ -155665,6 +155749,66 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155665
155749
|
removeItem: removeItem,
|
|
155666
155750
|
clearItems: clearItems
|
|
155667
155751
|
};
|
|
155752
|
+
function createOneTimePurchaseOrder(_x12) {
|
|
155753
|
+
return _createOneTimePurchaseOrder.apply(this, arguments);
|
|
155754
|
+
}
|
|
155755
|
+
function _createOneTimePurchaseOrder() {
|
|
155756
|
+
_createOneTimePurchaseOrder = _asyncToGenerator(_regeneratorRuntime().mark(function _callee17(params) {
|
|
155757
|
+
var isSupported;
|
|
155758
|
+
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
|
155759
|
+
while (1) switch (_context17.prev = _context17.next) {
|
|
155760
|
+
case 0:
|
|
155761
|
+
isSupported = _isMinVersionSupported({
|
|
155762
|
+
android: "5.219.0",
|
|
155763
|
+
ios: "5.219.0"
|
|
155764
|
+
});
|
|
155765
|
+
if (isSupported) {
|
|
155766
|
+
_context17.next = 3;
|
|
155767
|
+
break;
|
|
155768
|
+
}
|
|
155769
|
+
return _context17.abrupt("return");
|
|
155770
|
+
case 3:
|
|
155771
|
+
return _context17.abrupt("return", AppsInTossModule.iapCreateOneTimePurchaseOrder(params));
|
|
155772
|
+
case 4:
|
|
155773
|
+
case "end":
|
|
155774
|
+
return _context17.stop();
|
|
155775
|
+
}
|
|
155776
|
+
}, _callee17);
|
|
155777
|
+
}));
|
|
155778
|
+
return _createOneTimePurchaseOrder.apply(this, arguments);
|
|
155779
|
+
}
|
|
155780
|
+
function getProductItemList() {
|
|
155781
|
+
return _getProductItemList.apply(this, arguments);
|
|
155782
|
+
}
|
|
155783
|
+
function _getProductItemList() {
|
|
155784
|
+
_getProductItemList = _asyncToGenerator(_regeneratorRuntime().mark(function _callee18() {
|
|
155785
|
+
var isSupported;
|
|
155786
|
+
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
|
155787
|
+
while (1) switch (_context18.prev = _context18.next) {
|
|
155788
|
+
case 0:
|
|
155789
|
+
isSupported = _isMinVersionSupported({
|
|
155790
|
+
android: "5.219.0",
|
|
155791
|
+
ios: "5.219.0"
|
|
155792
|
+
});
|
|
155793
|
+
if (isSupported) {
|
|
155794
|
+
_context18.next = 3;
|
|
155795
|
+
break;
|
|
155796
|
+
}
|
|
155797
|
+
return _context18.abrupt("return");
|
|
155798
|
+
case 3:
|
|
155799
|
+
return _context18.abrupt("return", AppsInTossModule.iapGetProductItemList({}));
|
|
155800
|
+
case 4:
|
|
155801
|
+
case "end":
|
|
155802
|
+
return _context18.stop();
|
|
155803
|
+
}
|
|
155804
|
+
}, _callee18);
|
|
155805
|
+
}));
|
|
155806
|
+
return _getProductItemList.apply(this, arguments);
|
|
155807
|
+
}
|
|
155808
|
+
var _IAP = {
|
|
155809
|
+
createOneTimePurchaseOrder: createOneTimePurchaseOrder,
|
|
155810
|
+
getProductItemList: getProductItemList
|
|
155811
|
+
};
|
|
155668
155812
|
var _TossPay = {
|
|
155669
155813
|
checkoutPayment: _checkoutPayment
|
|
155670
155814
|
};
|
|
@@ -155677,7 +155821,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155677
155821
|
var import_react_native14 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
155678
155822
|
var import_private = _$$_REQUIRE(_dependencyMap[6], "@toss-design-system/react-native/private");
|
|
155679
155823
|
var import_react6 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
155680
|
-
var
|
|
155824
|
+
var import_react_native_bedrock11 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
155681
155825
|
var bedrockAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[7], "react-native-bedrock/async-bridges"), 1);
|
|
155682
155826
|
var bedrockConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[8], "react-native-bedrock/constant-bridges"), 1);
|
|
155683
155827
|
var import_react_native_webview = _$$_REQUIRE(_dependencyMap[9], "@react-native-bedrock/native/react-native-webview");
|
|
@@ -155685,7 +155829,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155685
155829
|
var import_es_hangul = _$$_REQUIRE(_dependencyMap[10], "es-hangul");
|
|
155686
155830
|
var import_react4 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
155687
155831
|
var import_react_native13 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
155688
|
-
var
|
|
155832
|
+
var import_react_native_bedrock9 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
155689
155833
|
var import_react_native_svg = _$$_REQUIRE(_dependencyMap[11], "@react-native-bedrock/native/react-native-svg");
|
|
155690
155834
|
var import_react_native10 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
155691
155835
|
var import_react_native11 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
@@ -155806,7 +155950,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155806
155950
|
case 2:
|
|
155807
155951
|
isConfirmed = _context.sent;
|
|
155808
155952
|
if (isConfirmed) {
|
|
155809
|
-
(0,
|
|
155953
|
+
(0, import_react_native_bedrock9.closeView)();
|
|
155810
155954
|
}
|
|
155811
155955
|
case 4:
|
|
155812
155956
|
case "end":
|
|
@@ -155816,11 +155960,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155816
155960
|
})), [brandDisplayName, openConfirm]);
|
|
155817
155961
|
(0, import_react4.useEffect)(function () {
|
|
155818
155962
|
if (import_react_native13.Platform.OS === "ios") {
|
|
155819
|
-
(0,
|
|
155963
|
+
(0, import_react_native_bedrock9.setIosSwipeGestureEnabled)({
|
|
155820
155964
|
isEnabled: false
|
|
155821
155965
|
});
|
|
155822
155966
|
return function () {
|
|
155823
|
-
(0,
|
|
155967
|
+
(0, import_react_native_bedrock9.setIosSwipeGestureEnabled)({
|
|
155824
155968
|
isEnabled: true
|
|
155825
155969
|
});
|
|
155826
155970
|
};
|
|
@@ -155983,7 +156127,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155983
156127
|
}
|
|
155984
156128
|
}, _callee3);
|
|
155985
156129
|
}));
|
|
155986
|
-
return function (
|
|
156130
|
+
return function (_x13) {
|
|
155987
156131
|
return _ref19.apply(this, arguments);
|
|
155988
156132
|
};
|
|
155989
156133
|
}(), [onMessage]);
|
|
@@ -156011,7 +156155,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156011
156155
|
return _startUpdateLocation;
|
|
156012
156156
|
}
|
|
156013
156157
|
});
|
|
156014
|
-
var
|
|
156158
|
+
var import_react_native_bedrock10 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
156015
156159
|
var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
|
|
156016
156160
|
var timestampHex = uuid.split("-").join("").slice(0, 12);
|
|
156017
156161
|
var timestamp = Number.parseInt(timestampHex, 16);
|
|
@@ -156033,7 +156177,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156033
156177
|
};
|
|
156034
156178
|
var getReferrer = function getReferrer() {
|
|
156035
156179
|
try {
|
|
156036
|
-
var referrer = new URL((0,
|
|
156180
|
+
var referrer = new URL((0, import_react_native_bedrock10.getSchemeUri)());
|
|
156037
156181
|
return referrer.searchParams.get("referrer");
|
|
156038
156182
|
} catch (_unused4) {
|
|
156039
156183
|
return "";
|
|
@@ -156066,7 +156210,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156066
156210
|
};
|
|
156067
156211
|
function mergeSchemeQueryParamsInto(url) {
|
|
156068
156212
|
var baseUrl = new URL(url);
|
|
156069
|
-
var schemeUrl = new URL((0,
|
|
156213
|
+
var schemeUrl = new URL((0, import_react_native_bedrock11.getSchemeUri)());
|
|
156070
156214
|
baseUrl.pathname = schemeUrl.pathname;
|
|
156071
156215
|
var _iterator2 = _createForOfIteratorHelper(schemeUrl.searchParams.entries()),
|
|
156072
156216
|
_step2;
|
|
@@ -156106,7 +156250,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156106
156250
|
if (!TYPES.includes(type)) {
|
|
156107
156251
|
throw new Error("Invalid WebView type: '".concat(type, "'"));
|
|
156108
156252
|
}
|
|
156109
|
-
var bedrockEvent = (0,
|
|
156253
|
+
var bedrockEvent = (0, import_react_native_bedrock11.useBedrockEvent)();
|
|
156110
156254
|
var uri = (0, import_react6.useMemo)(function () {
|
|
156111
156255
|
return getWebViewUri(local);
|
|
156112
156256
|
}, [local]);
|
|
@@ -156176,7 +156320,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156176
156320
|
getStorageItem: _Storage.getItem,
|
|
156177
156321
|
setStorageItem: _Storage.setItem,
|
|
156178
156322
|
removeStorageItem: _Storage.removeItem,
|
|
156179
|
-
clearItems: _Storage.clearItems
|
|
156323
|
+
clearItems: _Storage.clearItems,
|
|
156324
|
+
iapCreateOneTimePurchaseOrder: _IAP.createOneTimePurchaseOrder,
|
|
156325
|
+
iapGetProductItemList: _IAP.getProductItemList
|
|
156180
156326
|
})
|
|
156181
156327
|
});
|
|
156182
156328
|
var baseProps = (0, import_react6.useMemo)(function () {
|
|
@@ -156237,12 +156383,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156237
156383
|
return value;
|
|
156238
156384
|
}
|
|
156239
156385
|
var import_react7 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
156240
|
-
var
|
|
156386
|
+
var import_react_native_bedrock12 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
156241
156387
|
function _useGeolocation(_ref25) {
|
|
156242
156388
|
var accuracy = _ref25.accuracy,
|
|
156243
156389
|
distanceInterval = _ref25.distanceInterval,
|
|
156244
156390
|
timeInterval = _ref25.timeInterval;
|
|
156245
|
-
var isVisible = (0,
|
|
156391
|
+
var isVisible = (0, import_react_native_bedrock12.useVisibility)();
|
|
156246
156392
|
var _ref26 = (0, import_react7.useState)(null),
|
|
156247
156393
|
_ref27 = _slicedToArray(_ref26, 2),
|
|
156248
156394
|
location = _ref27[0],
|
|
@@ -156272,6 +156418,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156272
156418
|
Accuracy3[Accuracy3["BestForNavigation"] = 6] = "BestForNavigation";
|
|
156273
156419
|
return Accuracy3;
|
|
156274
156420
|
}(Accuracy2 || {});
|
|
156421
|
+
function onVisibilityChangedByTransparentServiceWeb(eventParams) {
|
|
156422
|
+
return _appsInTossEvent.addEventListener("onVisibilityChangedByTransparentServiceWeb", eventParams);
|
|
156423
|
+
}
|
|
156424
|
+
var _INTERNAL__onVisibilityChangedByTransparentServiceWeb = onVisibilityChangedByTransparentServiceWeb;
|
|
156275
156425
|
__reExport(src_exports, _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics"), module.exports);
|
|
156276
156426
|
var Analytics2 = {
|
|
156277
156427
|
init: import_analytics2.Analytics.init,
|
|
@@ -156284,6 +156434,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156284
156434
|
Analytics: Analytics,
|
|
156285
156435
|
AppsInToss: _AppsInToss,
|
|
156286
156436
|
GoogleAdMob: _GoogleAdMob,
|
|
156437
|
+
IAP: _IAP,
|
|
156438
|
+
INTERNAL__onVisibilityChangedByTransparentServiceWeb: _INTERNAL__onVisibilityChangedByTransparentServiceWeb,
|
|
156287
156439
|
Storage: _Storage,
|
|
156288
156440
|
TossPay: _TossPay,
|
|
156289
156441
|
WebView: _WebView,
|
|
@@ -156301,6 +156453,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156301
156453
|
getTossShareLink: _getTossShareLink,
|
|
156302
156454
|
isMinVersionSupported: _isMinVersionSupported,
|
|
156303
156455
|
openCamera: _openCamera,
|
|
156456
|
+
saveBase64Data: _saveBase64Data,
|
|
156304
156457
|
setClipboardText: _setClipboardText,
|
|
156305
156458
|
setDeviceOrientation: _setDeviceOrientation,
|
|
156306
156459
|
startUpdateLocation: _startUpdateLocation,
|
|
@@ -224028,7 +224181,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
224028
224181
|
}
|
|
224029
224182
|
},2203,[509,8,11,49],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/PlatformPressable.tsx");
|
|
224030
224183
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
224031
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
224184
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
224032
224185
|
"__packager_asset": true,
|
|
224033
224186
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/assets",
|
|
224034
224187
|
"width": 12,
|
|
@@ -224040,7 +224193,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
224040
224193
|
});
|
|
224041
224194
|
},2204,[417],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/assets/back-icon.png");
|
|
224042
224195
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
224043
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
224196
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
224044
224197
|
"__packager_asset": true,
|
|
224045
224198
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/assets",
|
|
224046
224199
|
"width": 50,
|
|
@@ -228978,6 +229131,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
228978
229131
|
port: Ait.webPort,
|
|
228979
229132
|
host: Ait.webHost
|
|
228980
229133
|
},
|
|
229134
|
+
allowsBackForwardNavigationGestures: Ait.allowsBackForwardNavigationGestures,
|
|
228981
229135
|
mediaPlaybackRequiresUserAction: Ait.mediaPlaybackRequiresUserAction,
|
|
228982
229136
|
allowsInlineMediaPlayback: Ait.allowsInlineMediaPlayback,
|
|
228983
229137
|
bounces: Ait.bounces,
|