@amazon-devices/keplerscript-identity-lwa-lib 0.0.57 → 0.0.58

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.
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["__prelude__","majorVersionMapPolyfill.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/index.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/turbo-modules/KeplerLWATurboModuleManager.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/turbo-modules/keplerLWATurboModules.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/index.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/turbomodules/TurboModuleRegistry.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/invariant/invariant.js","node_modules/@babel/runtime/helpers/classCallCheck.js","node_modules/@babel/runtime/helpers/createClass.js","node_modules/@babel/runtime/helpers/toPropertyKey.js","node_modules/@babel/runtime/helpers/toPrimitive.js","node_modules/@babel/runtime/helpers/typeof.js","node_modules/@babel/runtime/helpers/slicedToArray.js","node_modules/@babel/runtime/helpers/arrayWithHoles.js","node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","node_modules/@babel/runtime/helpers/arrayLikeToArray.js","node_modules/@babel/runtime/helpers/nonIterableRest.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/types/LWADataTypes.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","global._majorVersionToNoVersionIdMap[\"f9a2de81815f9448b3b6\"]=\"aca1b2a78657ab743f91\";\nglobal._majorVersionToNoVersionIdMap[\"e413ba5756e491734e89\"]=\"c5ecae8c847289e3f67a\";\nglobal._majorVersionToNoVersionIdMap[\"87ea67d54492c67525cd\"]=\"3f388866b2a97edb78b0\";\nglobal._majorVersionToNoVersionIdMap[\"7b59ec19b25d2f63bc2c\"]=\"d46c917945c960218eb3\";\nglobal._majorVersionToNoVersionIdMap[\"2a964c49a443fdeeb69e\"]=\"24c9335510691c789736\";\nglobal._majorVersionToNoVersionIdMap[\"7f3360dcb271a5c1f569\"]=\"03e0ba7f57a0c475d602\";\nglobal._majorVersionToNoVersionIdMap[\"3692d00aa1df6789851c\"]=\"0c407b213fdb0cf12f36\";\nglobal._majorVersionToNoVersionIdMap[\"a7b5451c4ae6f625ce2b\"]=\"88cbc67338916d055d8b\";\nglobal._majorVersionToNoVersionIdMap[\"99bd9f6212d4e37463a2\"]=\"df55d5cddf7675e2ff1e\";\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GrantTypeName = exports.ScopeName = exports.AuthorizationManager = void 0;\nvar KeplerLWATurboModuleManager_1 = require(\"./turbo-modules/KeplerLWATurboModuleManager\");\nObject.defineProperty(exports, \"AuthorizationManager\", { enumerable: true, get: function () { return KeplerLWATurboModuleManager_1.AuthorizationManager; } });\nvar LWADataTypes_1 = require(\"./types/LWADataTypes\");\nObject.defineProperty(exports, \"ScopeName\", { enumerable: true, get: function () { return LWADataTypes_1.ScopeName; } });\nObject.defineProperty(exports, \"GrantTypeName\", { enumerable: true, get: function () { return LWADataTypes_1.GrantTypeName; } });\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthorizationManager = void 0;\nconst LWADataTypes_1 = require(\"../types/LWADataTypes\");\nconst keplerLWATurboModules_1 = __importDefault(require(\"./keplerLWATurboModules\"));\n/**\n * Manages the interaction with the LWATurboModules (Login with Amazon).\n * This class provides methods to register event listeners, obtain tokens, authorize users,\n * retrieve user information, and sign out.\n */\nclass AuthorizationManager {\n /**\n * Requests an authorization token (using OAuth 2.0).\n * The `authorize` API method must have been called successfully with the same scopes,\n * and the user must have granted consent to those scopes once, prior to this call, in order to get a token.\n *\n * If the app has restarted since the last authorize call, `getToken` may still succeed using the cached credentials.\n *\n * @param {GetTokenCallbacks} [getTokenCallbacks] - Optional callbacks to handle token retrieval success or failure.\n * @throws {Error} - Throws an error if `keplerLWATurboModules` is not available.\n */\n static getToken(getTokenCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n if (getTokenCallbacks) {\n this.registerListener('getTokenSuccess', getTokenCallbacks.getTokenSuccess);\n this.registerListener('getTokenFailure', getTokenCallbacks.getTokenFailure);\n }\n keplerLWATurboModules_1.default.getToken();\n }\n /**\n * Performs authorization (using OAuth 2.0) using the specified scopes in the AuthorizeRequest object.\n * By default, an Amazon-hosted WebView is used to present a page that prompts the user to authorize the application.\n * To be notified when the authorization flow has finished, register an AuthorizeCallbacks on the request.\n * The user should provide consent for these scopes before this authorization call. This method will initiate the OAuth flow.\n * @param {AuthorizeRequest} authorizeRequest - Object containing the scopes for which authorization is requested.\n * The user must grant consent for these scopes.\n * @param {AuthorizeCallbacks} [authorizeCallbacks] - Optional callbacks to handle authorization success, failure, or cancellation.\n * @throws {Error} - Throws an error if `keplerLWATurboModules` is not available.\n */\n static authorize(authorizeRequest, authorizeCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n const [scopes, finalGrantType, finalCodeChallenge, finalCodeChallengeMethod] = buildAuthorizeParams(authorizeRequest);\n if (authorizeCallbacks) {\n this.registerListener('authorizeSuccess', authorizeCallbacks.authorizeSuccess);\n this.registerListener('authorizeFailure', authorizeCallbacks.authorizeFailure);\n this.registerListener('authorizeCancel', authorizeCallbacks.authorizeCancel);\n }\n keplerLWATurboModules_1.default.authorize(scopes, finalGrantType, finalCodeChallenge, finalCodeChallengeMethod);\n }\n /**\n * Retrieves basic profile information for a user (using OAuth 2.0) for the scopes requested in the last call to `authorize` API.\n * The authorize method must have been called once prior to this call so that a user can authorize the app.\n * If the app has restarted since the last authorize call, this may still succeed using the cached profile data and/or credentials.\n *\n * @param {GetUserCallbacks} [getUserCallbacks] - This is mandatory on the first call and it gets registered internally.\n * For the subsequent calls it is optional. If provided it would take the given callback if not whatever was registered previously.\n * @return {void} - This method does not return a value. Instead, it uses callbacks to handle success or failure.\n */\n static getUser(getUserCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n if (getUserCallbacks) {\n this.registerListener('getUserSuccess', getUserCallbacks.getUserSuccess);\n this.registerListener('getUserFailure', getUserCallbacks.getUserFailure);\n }\n keplerLWATurboModules_1.default.getUser();\n }\n /**\n * Removes any local authorization for the current user from this application.\n * This method will sign out the user by clearing local credentials and cached authorization tokens.\n * User must call authorize again to get tokens or user profile information.\n * @param {SignOutCallbacks} [signOutCallbacks] - This is mandatory on the first call and it gets registered internally.\n * For the subsequent calls it is optional. If provided it would take the given callback if not whatever was registered previously.\n * @return {void} - This method does not return a value. Instead, it uses callbacks to handle success or failure.\n */\n static signOut(signOutCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n if (signOutCallbacks) {\n this.registerListener('signOutFailure', signOutCallbacks.signOutFailure);\n this.registerListener('signOutSuccess', signOutCallbacks.signOutSuccess);\n }\n keplerLWATurboModules_1.default.signOut();\n }\n /**\n * Registers an event listener for a specified event.\n * @param {string} eventName - The name of the event to listen for.\n * @param {function} callback - The callback function to execute when the event is triggered.\n * The callback receives the event payload.\n * @private\n */\n static registerListener = (eventName, callback) => {\n keplerLWATurboModules_1.default.registerListener(eventName, callback);\n };\n}\nexports.AuthorizationManager = AuthorizationManager;\n/**\n * Builds and returns the parameters required for an authorization request\n * based on the grant type and other optional fields.\n *\n * @param authorizeRequest - Object containing scopes, grantType, codeChallenge, and codeChallengeMethod\n * @returns A tuple containing:\n * - scopes: The requested scopes\n * - finalGrantType: The grant type to use (default is ACCESS_TOKEN)\n * - finalCodeChallenge: The PKCE code challenge (if applicable)\n * - finalCodeChallengeMethod: The PKCE challenge method (if applicable)\n */\nconst buildAuthorizeParams = (authorizeRequest) => {\n // Destructure fields from the authorize request. Using 'any' for flexibility in input structure.\n const { scopes, grantType, codeChallenge, codeChallengeMethod } = authorizeRequest;\n // Set default values\n let finalGrantType = LWADataTypes_1.GrantTypeName.ACCESS_TOKEN; // Default grant type\n let finalCodeChallenge = ''; // Default empty string for code challenge\n let finalCodeChallengeMethod = ''; // Default empty string for challenge method\n // If the grant type is AUTH_CODE (indicating PKCE flow), override defaults\n if (grantType === 'AUTH_CODE') {\n finalGrantType = grantType;\n finalCodeChallenge = codeChallenge || ''; // Use provided code challenge or empty string\n finalCodeChallengeMethod = codeChallengeMethod || ''; // Use provided method or empty string\n }\n // Return all required parameters as an array\n return [scopes, finalGrantType, finalCodeChallenge, finalCodeChallengeMethod];\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst keplerscript_turbomodule_api_1 = require(\"@amazon-devices/keplerscript-turbomodule-api\");\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('keplerLWATurboModules');\n","\"use strict\";\n/**\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TurboModuleRegistry = void 0;\nexports.TurboModuleRegistry = require(\"./turbomodules/TurboModuleRegistry\");\n","\"use strict\";\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getEnforcing = exports.get = void 0;\nconst invariant_1 = require(\"../invariant/invariant\");\nconst turboModuleProxy = global.__turboModuleProxy;\nfunction requireModule(name) {\n if (turboModuleProxy != null) {\n return turboModuleProxy(name);\n }\n return null;\n}\nfunction get(name) {\n return requireModule(name);\n}\nexports.get = get;\nfunction getEnforcing(name) {\n const module = requireModule(name);\n (0, invariant_1.default)(module != null, `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` + 'Verify that a module by this name is registered in the native binary.');\n return module;\n}\nexports.getEnforcing = getEnforcing;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\n/**\n * amznmod_tmapi: Migrated to typescript\n */\n'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\nconst NODE_ENV = process.env.NODE_ENV;\nconst invariant = (condition, format, ...extraArgs) => {\n if (NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n if (!condition) {\n let error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.');\n }\n else {\n let argIndex = 0;\n error = new Error(format.replace(/%s/g, () => (extraArgs[argIndex++])));\n error.name = 'Invariant Violation';\n }\n // @ts-ignore `framesToPop` is not part of Error type but something Meta (and maybe RN) uses.\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\nexports.default = invariant;\n","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableRest = require(\"./nonIterableRest.js\");\nfunction _slicedToArray(r, e) {\n return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();\n}\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;\n }\n}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Status = exports.ScopeName = exports.GrantTypeName = void 0;\nvar GrantTypeName;\n(function (GrantTypeName) {\n GrantTypeName[\"ACCESS_TOKEN\"] = \"ACCESS_TOKEN\";\n GrantTypeName[\"AUTH_CODE\"] = \"AUTH_CODE\";\n})(GrantTypeName = exports.GrantTypeName || (exports.GrantTypeName = {}));\n/**\n * Contains list of all possible scopes supported by Amazon Identity\n */\n/* eslint-disable @typescript-eslint/naming-convention */\nvar ScopeName;\n(function (ScopeName) {\n /**\n * Provides authorization to the user profile\n */\n ScopeName[\"PROFILE\"] = \"PROFILE\";\n /**\n * Provides authorization to the user's Amazon account ID\n */\n ScopeName[\"USERID\"] = \"USERID\";\n /**\n * Provides authorization to the user's zip/postal code\n */\n ScopeName[\"POSTAL_CODE\"] = \"POSTAL_CODE\";\n /**\n * Provides authorization to the user's Mobile number\n */\n ScopeName[\"MOBILE_NUMBER\"] = \"MOBILE_NUMBER\";\n})(ScopeName = exports.ScopeName || (exports.ScopeName = {}));\n/**\n * Enum representing various status codes for authentication and authorization errors.\n */\nvar Status;\n(function (Status) {\n /**\n * Indicates an access denied error, typically due to lack of permissions or authorization.\n */\n Status[Status[\"AccessDeniedError\"] = 0] = \"AccessDeniedError\";\n /**\n * Indicates a missing token error for required scopes during authentication.\n */\n Status[Status[\"MissingTokenForRequiredScopes\"] = 1] = \"MissingTokenForRequiredScopes\";\n /**\n * Indicates other miscellaneous errors not covered by specific codes.\n */\n Status[Status[\"Other\"] = 2] = \"Other\";\n})(Status = exports.Status || (exports.Status = {}));\n"],"x_facebook_sources":[null,[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","Object.defineProperty$argument_2.get"],"mappings":"AAA;gFCI,0ED;qECE,gDD;yECC,oDD"}],[{"names":["<global>","<anonymous>","AuthorizationManager","AuthorizationManager.getToken","AuthorizationManager.authorize","AuthorizationManager.getUser","AuthorizationManager.signOut","AuthorizationManager.registerListener","buildAuthorizeParams"],"mappings":"AAA;wDCC;CDE;AEU;ICW;KDS;IEW;KFW;IGU;KHS;IIS;KJS;8BKQ;KLE;CFC;6BQa;CRe"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","requireModule","get","getEnforcing"],"mappings":"AAA;ACmB;CDK;AEC;CFE;AGE;CHI"}],[{"names":["<global>","invariant","format.replace$argument_1"],"mappings":"AAA;kBC8B;oDCc,6BD;CDO"}],[{"names":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","_defineProperties","_createClass"],"mappings":"AAA;ACC;CDK;AEC;CFI"}],[{"names":["<global>","toPropertyKey"],"mappings":"AAA;ACE;CDG"}],[{"names":["<global>","toPrimitive"],"mappings":"AAA;ACC;CDS"}],[{"names":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["<global>","_slicedToArray"],"mappings":"AAA;ACI;CDE"}],[{"names":["_arrayWithHoles","<global>"],"mappings":"AAA;CCE"}],[{"names":["_iterableToArrayLimit","<global>"],"mappings":"AAA;CC0B"}],[{"names":["<global>","_unsupportedIterableToArray"],"mappings":"AAA;ACC;CDM"}],[{"names":["_arrayLikeToArray","<global>"],"mappings":"AAA;CCI"}],[{"names":["_nonIterableRest","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","<anonymous>"],"mappings":"AAA;CCI;CDG;CCM;CDiB;CCK;CDa"}]],"x_google_ignoreList":[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],"names":["global","_majorVersionToNoVersionIdMap","globalThis","window","Object","defineProperty","exports","value","GrantTypeName","ScopeName","AuthorizationManager","undefined","enumerable","get","_$$_REQUIRE","_dependencyMap","__importDefault","mod","__esModule","keplerLWATurboModules_1","require","key","getToken","getTokenCallbacks","default","Error","registerListener","getTokenSuccess","getTokenFailure","authorize","authorizeRequest","authorizeCallbacks","_buildAuthorizeParams","buildAuthorizeParams","_buildAuthorizeParams2","scopes","finalGrantType","finalCodeChallenge","finalCodeChallengeMethod","authorizeSuccess","authorizeFailure","authorizeCancel","getUser","getUserCallbacks","getUserSuccess","getUserFailure","signOut","signOutCallbacks","signOutFailure","signOutSuccess","eventName","callback","grantType","codeChallenge","codeChallengeMethod","ACCESS_TOKEN","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","name","module","NODE_ENV","invariant","condition","format","_len","arguments","length","extraArgs","Array","_key","error","argIndex","replace","framesToPop","_classCallCheck","a","n","TypeError","_defineProperties","e","r","t","o","configurable","writable","_createClass","prototype","toPropertyKey","i","toPrimitive","Symbol","call","String","Number","_typeof","iterator","constructor","_slicedToArray","_arrayWithHoles","isArray","_iterableToArrayLimit","l","u","f","next","done","push","_unsupportedIterableToArray","toString","slice","from","test","_arrayLikeToArray","_nonIterableRest","Status"],"mappings":";;ECAAA,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB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AE;IACtBA,aAAa,CAAC,cAAc,CAAC,GAAG,cAAc;IAC9CA,aAAa,CAAC,WAAW,CAAC,GAAG,WAAW;EAC5C,CAAC,EAAEA,aAAa,GAAGF,OAAO,CAACE,aAAa,KAAKF,OAAO,CAACE,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC;EACzE;AACA;AACA;EACA;EACA,IAAIC,SAAS;EACb,CAAC,UAAUA,SAAS,EAAE;IAClB;AACJ;AACA;IACIA,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS;IAChC;AACJ;AACA;IACIA,SAAS,CAAC,QAAQ,CAAC,GAAG,QAAQ;IAC9B;AACJ;AACA;IACIA,SAAS,CAAC,aAAa,CAAC,GAAG,aAAa;IACxC;AACJ;AACA;IACIA,SAAS,CAAC,eAAe,CAAC,GAAG,eAAe;EAChD,CAAC,EAAEA,SAAS,GAAGH,OAAO,CAACG,SAAS,KAAKH,OAAO,CAACG,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC;EAC7D;AACA;AACA;EACA,IAAI4G,MAAM;EACV,CAAC,UAAUA,MAAM,EAAE;IACf;AACJ;AACA;IACIA,MAAM,CAACA,MAAM,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,GAAG,mBAAmB;IAC7D;AACJ;AACA;IACIA,MAAM,CAACA,MAAM,CAAC,+BAA+B,CAAC,GAAG,CAAC,CAAC,GAAG,+BAA+B;IACrF;AACJ;AACA;IACIA,MAAM,CAACA,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO;EACzC,CAAC,EAAEA,MAAM,GAAG/G,OAAO,CAAC+G,MAAM,KAAK/G,OAAO,CAAC+G,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;AAAC","x_amazon_bundleId":"826b205ae73a5c088285aefaf4d8eaee06bc1eb2823503c7608139a94e2493d1"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["__prelude__","majorVersionMapPolyfill.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/index.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/turbo-modules/KeplerLWATurboModuleManager.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/turbo-modules/keplerLWATurboModules.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/index.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/turbomodules/TurboModuleRegistry.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/invariant/invariant.js","node_modules/@babel/runtime/helpers/classCallCheck.js","node_modules/@babel/runtime/helpers/createClass.js","node_modules/@babel/runtime/helpers/toPropertyKey.js","node_modules/@babel/runtime/helpers/toPrimitive.js","node_modules/@babel/runtime/helpers/typeof.js","node_modules/@babel/runtime/helpers/slicedToArray.js","node_modules/@babel/runtime/helpers/arrayWithHoles.js","node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","node_modules/@babel/runtime/helpers/arrayLikeToArray.js","node_modules/@babel/runtime/helpers/nonIterableRest.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/types/LWADataTypes.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","global._majorVersionToNoVersionIdMap[\"f9a2de81815f9448b3b6\"]=\"aca1b2a78657ab743f91\";\nglobal._majorVersionToNoVersionIdMap[\"e413ba5756e491734e89\"]=\"c5ecae8c847289e3f67a\";\nglobal._majorVersionToNoVersionIdMap[\"87ea67d54492c67525cd\"]=\"3f388866b2a97edb78b0\";\nglobal._majorVersionToNoVersionIdMap[\"7b59ec19b25d2f63bc2c\"]=\"d46c917945c960218eb3\";\nglobal._majorVersionToNoVersionIdMap[\"2a964c49a443fdeeb69e\"]=\"24c9335510691c789736\";\nglobal._majorVersionToNoVersionIdMap[\"7f3360dcb271a5c1f569\"]=\"03e0ba7f57a0c475d602\";\nglobal._majorVersionToNoVersionIdMap[\"3692d00aa1df6789851c\"]=\"0c407b213fdb0cf12f36\";\nglobal._majorVersionToNoVersionIdMap[\"a7b5451c4ae6f625ce2b\"]=\"88cbc67338916d055d8b\";\nglobal._majorVersionToNoVersionIdMap[\"99bd9f6212d4e37463a2\"]=\"df55d5cddf7675e2ff1e\";\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GrantTypeName = exports.ScopeName = exports.AuthorizationManager = void 0;\nvar KeplerLWATurboModuleManager_1 = require(\"./turbo-modules/KeplerLWATurboModuleManager\");\nObject.defineProperty(exports, \"AuthorizationManager\", { enumerable: true, get: function () { return KeplerLWATurboModuleManager_1.AuthorizationManager; } });\nvar LWADataTypes_1 = require(\"./types/LWADataTypes\");\nObject.defineProperty(exports, \"ScopeName\", { enumerable: true, get: function () { return LWADataTypes_1.ScopeName; } });\nObject.defineProperty(exports, \"GrantTypeName\", { enumerable: true, get: function () { return LWADataTypes_1.GrantTypeName; } });\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthorizationManager = void 0;\nconst LWADataTypes_1 = require(\"../types/LWADataTypes\");\nconst keplerLWATurboModules_1 = __importDefault(require(\"./keplerLWATurboModules\"));\n/**\n * Manages the interaction with the LWATurboModules (Login with Amazon).\n * This class provides methods to register event listeners, obtain tokens, authorize users,\n * retrieve user information, and sign out.\n */\nclass AuthorizationManager {\n /**\n * Requests an authorization token (using OAuth 2.0).\n * The `authorize` API method must have been called successfully with the same scopes,\n * and the user must have granted consent to those scopes once, prior to this call, in order to get a token.\n *\n * If the app has restarted since the last authorize call, `getToken` may still succeed using the cached credentials.\n *\n * @param {GetTokenCallbacks} [getTokenCallbacks] - Optional callbacks to handle token retrieval success or failure.\n * @throws {Error} - Throws an error if `keplerLWATurboModules` is not available.\n */\n static getToken(getTokenCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n if (getTokenCallbacks) {\n this.registerListener('getTokenSuccess', getTokenCallbacks.getTokenSuccess);\n this.registerListener('getTokenFailure', getTokenCallbacks.getTokenFailure);\n }\n keplerLWATurboModules_1.default.getToken();\n }\n /**\n * Performs authorization (using OAuth 2.0) using the specified scopes in the AuthorizeRequest object.\n * By default, an Amazon-hosted WebView is used to present a page that prompts the user to authorize the application.\n * To be notified when the authorization flow has finished, register an AuthorizeCallbacks on the request.\n * The user should provide consent for these scopes before this authorization call. This method will initiate the OAuth flow.\n * @param {AuthorizeRequest} authorizeRequest - Object containing the scopes for which authorization is requested.\n * The user must grant consent for these scopes.\n * @param {AuthorizeCallbacks} [authorizeCallbacks] - Optional callbacks to handle authorization success, failure, or cancellation.\n * @throws {Error} - Throws an error if `keplerLWATurboModules` is not available.\n */\n static authorize(authorizeRequest, authorizeCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n const [scopes, finalGrantType, finalCodeChallenge, finalCodeChallengeMethod] = buildAuthorizeParams(authorizeRequest);\n if (authorizeCallbacks) {\n this.registerListener('authorizeSuccess', authorizeCallbacks.authorizeSuccess);\n this.registerListener('authorizeFailure', authorizeCallbacks.authorizeFailure);\n this.registerListener('authorizeCancel', authorizeCallbacks.authorizeCancel);\n }\n keplerLWATurboModules_1.default.authorize(scopes, finalGrantType, finalCodeChallenge, finalCodeChallengeMethod);\n }\n /**\n * Retrieves basic profile information for a user (using OAuth 2.0) for the scopes requested in the last call to `authorize` API.\n * The authorize method must have been called once prior to this call so that a user can authorize the app.\n * If the app has restarted since the last authorize call, this may still succeed using the cached profile data and/or credentials.\n *\n * @param {GetUserCallbacks} [getUserCallbacks] - This is mandatory on the first call and it gets registered internally.\n * For the subsequent calls it is optional. If provided it would take the given callback if not whatever was registered previously.\n * @return {void} - This method does not return a value. Instead, it uses callbacks to handle success or failure.\n */\n static getUser(getUserCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n if (getUserCallbacks) {\n this.registerListener('getUserSuccess', getUserCallbacks.getUserSuccess);\n this.registerListener('getUserFailure', getUserCallbacks.getUserFailure);\n }\n keplerLWATurboModules_1.default.getUser();\n }\n /**\n * Removes any local authorization for the current user from this application.\n * This method will sign out the user by clearing local credentials and cached authorization tokens.\n * User must call authorize again to get tokens or user profile information.\n * @param {SignOutCallbacks} [signOutCallbacks] - This is mandatory on the first call and it gets registered internally.\n * For the subsequent calls it is optional. If provided it would take the given callback if not whatever was registered previously.\n * @return {void} - This method does not return a value. Instead, it uses callbacks to handle success or failure.\n */\n static signOut(signOutCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n if (signOutCallbacks) {\n this.registerListener('signOutFailure', signOutCallbacks.signOutFailure);\n this.registerListener('signOutSuccess', signOutCallbacks.signOutSuccess);\n }\n keplerLWATurboModules_1.default.signOut();\n }\n /**\n * Registers an event listener for a specified event.\n * @param {string} eventName - The name of the event to listen for.\n * @param {function} callback - The callback function to execute when the event is triggered.\n * The callback receives the event payload.\n * @private\n */\n static registerListener = (eventName, callback) => {\n keplerLWATurboModules_1.default.registerListener(eventName, callback);\n };\n}\nexports.AuthorizationManager = AuthorizationManager;\n/**\n * Builds and returns the parameters required for an authorization request\n * based on the grant type and other optional fields.\n *\n * @param authorizeRequest - Object containing scopes, grantType, codeChallenge, and codeChallengeMethod\n * @returns A tuple containing:\n * - scopes: The requested scopes\n * - finalGrantType: The grant type to use (default is ACCESS_TOKEN)\n * - finalCodeChallenge: The PKCE code challenge (if applicable)\n * - finalCodeChallengeMethod: The PKCE challenge method (if applicable)\n */\nconst buildAuthorizeParams = (authorizeRequest) => {\n // Destructure fields from the authorize request. Using 'any' for flexibility in input structure.\n const { scopes, grantType, codeChallenge, codeChallengeMethod } = authorizeRequest;\n // Set default values\n let finalGrantType = LWADataTypes_1.GrantTypeName.ACCESS_TOKEN; // Default grant type\n let finalCodeChallenge = ''; // Default empty string for code challenge\n let finalCodeChallengeMethod = ''; // Default empty string for challenge method\n // If the grant type is AUTH_CODE (indicating PKCE flow), override defaults\n if (grantType === 'AUTH_CODE') {\n finalGrantType = grantType;\n finalCodeChallenge = codeChallenge || ''; // Use provided code challenge or empty string\n finalCodeChallengeMethod = codeChallengeMethod || ''; // Use provided method or empty string\n }\n // Return all required parameters as an array\n return [scopes, finalGrantType, finalCodeChallenge, finalCodeChallengeMethod];\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst keplerscript_turbomodule_api_1 = require(\"@amazon-devices/keplerscript-turbomodule-api\");\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('keplerLWATurboModules');\n","\"use strict\";\n/**\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TurboModuleRegistry = void 0;\nexports.TurboModuleRegistry = require(\"./turbomodules/TurboModuleRegistry\");\n","\"use strict\";\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getEnforcing = exports.get = void 0;\nconst invariant_1 = require(\"../invariant/invariant\");\nconst turboModuleProxy = global.__turboModuleProxy;\nfunction requireModule(name) {\n if (turboModuleProxy != null) {\n return turboModuleProxy(name);\n }\n return null;\n}\nfunction get(name) {\n return requireModule(name);\n}\nexports.get = get;\nfunction getEnforcing(name) {\n const module = requireModule(name);\n (0, invariant_1.default)(module != null, `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` + 'Verify that a module by this name is registered in the native binary.');\n return module;\n}\nexports.getEnforcing = getEnforcing;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\n/**\n * amznmod_tmapi: Migrated to typescript\n */\n'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\nconst NODE_ENV = process.env.NODE_ENV;\nconst invariant = (condition, format, ...extraArgs) => {\n if (NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n if (!condition) {\n let error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.');\n }\n else {\n let argIndex = 0;\n error = new Error(format.replace(/%s/g, () => (extraArgs[argIndex++])));\n error.name = 'Invariant Violation';\n }\n // @ts-ignore `framesToPop` is not part of Error type but something Meta (and maybe RN) uses.\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\nexports.default = invariant;\n","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableRest = require(\"./nonIterableRest.js\");\nfunction _slicedToArray(r, e) {\n return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();\n}\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;\n }\n}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Status = exports.ScopeName = exports.GrantTypeName = void 0;\nvar GrantTypeName;\n(function (GrantTypeName) {\n GrantTypeName[\"ACCESS_TOKEN\"] = \"ACCESS_TOKEN\";\n GrantTypeName[\"AUTH_CODE\"] = \"AUTH_CODE\";\n})(GrantTypeName = exports.GrantTypeName || (exports.GrantTypeName = {}));\n/**\n * Contains list of all possible scopes supported by Amazon Identity\n */\n/* eslint-disable @typescript-eslint/naming-convention */\nvar ScopeName;\n(function (ScopeName) {\n /**\n * Provides authorization to the user profile\n */\n ScopeName[\"PROFILE\"] = \"PROFILE\";\n /**\n * Provides authorization to the user's Amazon account ID\n */\n ScopeName[\"USERID\"] = \"USERID\";\n /**\n * Provides authorization to the user's zip/postal code\n */\n ScopeName[\"POSTAL_CODE\"] = \"POSTAL_CODE\";\n /**\n * Provides authorization to the user's Mobile number\n */\n ScopeName[\"MOBILE_NUMBER\"] = \"MOBILE_NUMBER\";\n})(ScopeName = exports.ScopeName || (exports.ScopeName = {}));\n/**\n * Enum representing various status codes for authentication and authorization errors.\n */\nvar Status;\n(function (Status) {\n /**\n * Indicates an access denied error, typically due to lack of permissions or authorization.\n */\n Status[Status[\"AccessDeniedError\"] = 0] = \"AccessDeniedError\";\n /**\n * Indicates a missing token error for required scopes during authentication.\n */\n Status[Status[\"MissingTokenForRequiredScopes\"] = 1] = \"MissingTokenForRequiredScopes\";\n /**\n * Indicates other miscellaneous errors not covered by specific codes.\n */\n Status[Status[\"Other\"] = 2] = \"Other\";\n})(Status = exports.Status || (exports.Status = {}));\n"],"x_facebook_sources":[null,[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","Object.defineProperty$argument_2.get"],"mappings":"AAA;gFCI,0ED;qECE,gDD;yECC,oDD"}],[{"names":["<global>","<anonymous>","AuthorizationManager","AuthorizationManager.getToken","AuthorizationManager.authorize","AuthorizationManager.getUser","AuthorizationManager.signOut","AuthorizationManager.registerListener","buildAuthorizeParams"],"mappings":"AAA;wDCC;CDE;AEU;ICW;KDS;IEW;KFW;IGU;KHS;IIS;KJS;8BKQ;KLE;CFC;6BQa;CRe"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","requireModule","get","getEnforcing"],"mappings":"AAA;ACmB;CDK;AEC;CFE;AGE;CHI"}],[{"names":["<global>","invariant","format.replace$argument_1"],"mappings":"AAA;kBC8B;oDCc,6BD;CDO"}],[{"names":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","_defineProperties","_createClass"],"mappings":"AAA;ACC;CDK;AEC;CFI"}],[{"names":["<global>","toPropertyKey"],"mappings":"AAA;ACE;CDG"}],[{"names":["<global>","toPrimitive"],"mappings":"AAA;ACC;CDS"}],[{"names":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["<global>","_slicedToArray"],"mappings":"AAA;ACI;CDE"}],[{"names":["_arrayWithHoles","<global>"],"mappings":"AAA;CCE"}],[{"names":["_iterableToArrayLimit","<global>"],"mappings":"AAA;CC0B"}],[{"names":["<global>","_unsupportedIterableToArray"],"mappings":"AAA;ACC;CDM"}],[{"names":["_arrayLikeToArray","<global>"],"mappings":"AAA;CCI"}],[{"names":["_nonIterableRest","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","<anonymous>"],"mappings":"AAA;CCI;CDG;CCM;CDiB;CCK;CDa"}]],"x_google_ignoreList":[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],"names":["global","_majorVersionToNoVersionIdMap","globalThis","window","Object","defineProperty","exports","value","GrantTypeName","ScopeName","AuthorizationManager","undefined","enumerable","get","_$$_REQUIRE","_dependencyMap","__importDefault","mod","__esModule","keplerLWATurboModules_1","require","key","getToken","getTokenCallbacks","default","Error","registerListener","getTokenSuccess","getTokenFailure","authorize","authorizeRequest","authorizeCallbacks","_buildAuthorizeParams","buildAuthorizeParams","_buildAuthorizeParams2","scopes","finalGrantType","finalCodeChallenge","finalCodeChallengeMethod","authorizeSuccess","authorizeFailure","authorizeCancel","getUser","getUserCallbacks","getUserSuccess","getUserFailure","signOut","signOutCallbacks","signOutFailure","signOutSuccess","eventName","callback","grantType","codeChallenge","codeChallengeMethod","ACCESS_TOKEN","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","name","module","NODE_ENV","invariant","condition","format","_len","arguments","length","extraArgs","Array","_key","error","argIndex","replace","framesToPop","_classCallCheck","a","n","TypeError","_defineProperties","e","r","t","o","configurable","writable","_createClass","prototype","toPropertyKey","i","toPrimitive","Symbol","call","String","Number","_typeof","iterator","constructor","_slicedToArray","_arrayWithHoles","isArray","_iterableToArrayLimit","l","u","f","next","done","push","_unsupportedIterableToArray","toString","slice","from","test","_arrayLikeToArray","_nonIterableRest","Status"],"mappings":";;ECAAA,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MA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EACA,IAAIC,SAAS;EACb,CAAC,UAAUA,SAAS,EAAE;IAClB;AACJ;AACA;IACIA,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS;IAChC;AACJ;AACA;IACIA,SAAS,CAAC,QAAQ,CAAC,GAAG,QAAQ;IAC9B;AACJ;AACA;IACIA,SAAS,CAAC,aAAa,CAAC,GAAG,aAAa;IACxC;AACJ;AACA;IACIA,SAAS,CAAC,eAAe,CAAC,GAAG,eAAe;EAChD,CAAC,EAAEA,SAAS,GAAGH,OAAO,CAACG,SAAS,KAAKH,OAAO,CAACG,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC;EAC7D;AACA;AACA;EACA,IAAI4G,MAAM;EACV,CAAC,UAAUA,MAAM,EAAE;IACf;AACJ;AACA;IACIA,MAAM,CAACA,MAAM,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,GAAG,mBAAmB;IAC7D;AACJ;AACA;IACIA,MAAM,CAACA,MAAM,CAAC,+BAA+B,CAAC,GAAG,CAAC,CAAC,GAAG,+BAA+B;IACrF;AACJ;AACA;IACIA,MAAM,CAACA,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO;EACzC,CAAC,EAAEA,MAAM,GAAG/G,OAAO,CAAC+G,MAAM,KAAK/G,OAAO,CAAC+G,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;AAAC","x_amazon_bundleId":"826b205ae73a5c088285aefaf4d8eaee06bc1eb2823503c7608139a94e2493d1"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["__prelude__","majorVersionMapPolyfill.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/index.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/turbo-modules/KeplerLWATurboModuleManager.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/turbo-modules/keplerLWATurboModules.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/index.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/turbomodules/TurboModuleRegistry.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/invariant/invariant.js","node_modules/@babel/runtime/helpers/classCallCheck.js","node_modules/@babel/runtime/helpers/createClass.js","node_modules/@babel/runtime/helpers/toPropertyKey.js","node_modules/@babel/runtime/helpers/toPrimitive.js","node_modules/@babel/runtime/helpers/typeof.js","node_modules/@babel/runtime/helpers/slicedToArray.js","node_modules/@babel/runtime/helpers/arrayWithHoles.js","node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","node_modules/@babel/runtime/helpers/arrayLikeToArray.js","node_modules/@babel/runtime/helpers/nonIterableRest.js","node_modules/@amazon-devices/keplerscript-identity-lwa-lib/dist/types/LWADataTypes.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","global._majorVersionToNoVersionIdMap[\"f9a2de81815f9448b3b6\"]=\"aca1b2a78657ab743f91\";\nglobal._majorVersionToNoVersionIdMap[\"e413ba5756e491734e89\"]=\"c5ecae8c847289e3f67a\";\nglobal._majorVersionToNoVersionIdMap[\"87ea67d54492c67525cd\"]=\"3f388866b2a97edb78b0\";\nglobal._majorVersionToNoVersionIdMap[\"7b59ec19b25d2f63bc2c\"]=\"d46c917945c960218eb3\";\nglobal._majorVersionToNoVersionIdMap[\"2a964c49a443fdeeb69e\"]=\"24c9335510691c789736\";\nglobal._majorVersionToNoVersionIdMap[\"7f3360dcb271a5c1f569\"]=\"03e0ba7f57a0c475d602\";\nglobal._majorVersionToNoVersionIdMap[\"3692d00aa1df6789851c\"]=\"0c407b213fdb0cf12f36\";\nglobal._majorVersionToNoVersionIdMap[\"a7b5451c4ae6f625ce2b\"]=\"88cbc67338916d055d8b\";\nglobal._majorVersionToNoVersionIdMap[\"99bd9f6212d4e37463a2\"]=\"df55d5cddf7675e2ff1e\";\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GrantTypeName = exports.ScopeName = exports.AuthorizationManager = void 0;\nvar KeplerLWATurboModuleManager_1 = require(\"./turbo-modules/KeplerLWATurboModuleManager\");\nObject.defineProperty(exports, \"AuthorizationManager\", { enumerable: true, get: function () { return KeplerLWATurboModuleManager_1.AuthorizationManager; } });\nvar LWADataTypes_1 = require(\"./types/LWADataTypes\");\nObject.defineProperty(exports, \"ScopeName\", { enumerable: true, get: function () { return LWADataTypes_1.ScopeName; } });\nObject.defineProperty(exports, \"GrantTypeName\", { enumerable: true, get: function () { return LWADataTypes_1.GrantTypeName; } });\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthorizationManager = void 0;\nconst LWADataTypes_1 = require(\"../types/LWADataTypes\");\nconst keplerLWATurboModules_1 = __importDefault(require(\"./keplerLWATurboModules\"));\n/**\n * Manages the interaction with the LWATurboModules (Login with Amazon).\n * This class provides methods to register event listeners, obtain tokens, authorize users,\n * retrieve user information, and sign out.\n */\nclass AuthorizationManager {\n /**\n * Requests an authorization token (using OAuth 2.0).\n * The `authorize` API method must have been called successfully with the same scopes,\n * and the user must have granted consent to those scopes once, prior to this call, in order to get a token.\n *\n * If the app has restarted since the last authorize call, `getToken` may still succeed using the cached credentials.\n *\n * @param {GetTokenCallbacks} [getTokenCallbacks] - Optional callbacks to handle token retrieval success or failure.\n * @throws {Error} - Throws an error if `keplerLWATurboModules` is not available.\n */\n static getToken(getTokenCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n if (getTokenCallbacks) {\n this.registerListener('getTokenSuccess', getTokenCallbacks.getTokenSuccess);\n this.registerListener('getTokenFailure', getTokenCallbacks.getTokenFailure);\n }\n keplerLWATurboModules_1.default.getToken();\n }\n /**\n * Performs authorization (using OAuth 2.0) using the specified scopes in the AuthorizeRequest object.\n * By default, an Amazon-hosted WebView is used to present a page that prompts the user to authorize the application.\n * To be notified when the authorization flow has finished, register an AuthorizeCallbacks on the request.\n * The user should provide consent for these scopes before this authorization call. This method will initiate the OAuth flow.\n * @param {AuthorizeRequest} authorizeRequest - Object containing the scopes for which authorization is requested.\n * The user must grant consent for these scopes.\n * @param {AuthorizeCallbacks} [authorizeCallbacks] - Optional callbacks to handle authorization success, failure, or cancellation.\n * @throws {Error} - Throws an error if `keplerLWATurboModules` is not available.\n */\n static authorize(authorizeRequest, authorizeCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n const [scopes, finalGrantType, finalCodeChallenge, finalCodeChallengeMethod] = buildAuthorizeParams(authorizeRequest);\n if (authorizeCallbacks) {\n this.registerListener('authorizeSuccess', authorizeCallbacks.authorizeSuccess);\n this.registerListener('authorizeFailure', authorizeCallbacks.authorizeFailure);\n this.registerListener('authorizeCancel', authorizeCallbacks.authorizeCancel);\n }\n keplerLWATurboModules_1.default.authorize(scopes, finalGrantType, finalCodeChallenge, finalCodeChallengeMethod);\n }\n /**\n * Retrieves basic profile information for a user (using OAuth 2.0) for the scopes requested in the last call to `authorize` API.\n * The authorize method must have been called once prior to this call so that a user can authorize the app.\n * If the app has restarted since the last authorize call, this may still succeed using the cached profile data and/or credentials.\n *\n * @param {GetUserCallbacks} [getUserCallbacks] - This is mandatory on the first call and it gets registered internally.\n * For the subsequent calls it is optional. If provided it would take the given callback if not whatever was registered previously.\n * @return {void} - This method does not return a value. Instead, it uses callbacks to handle success or failure.\n */\n static getUser(getUserCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n if (getUserCallbacks) {\n this.registerListener('getUserSuccess', getUserCallbacks.getUserSuccess);\n this.registerListener('getUserFailure', getUserCallbacks.getUserFailure);\n }\n keplerLWATurboModules_1.default.getUser();\n }\n /**\n * Removes any local authorization for the current user from this application.\n * This method will sign out the user by clearing local credentials and cached authorization tokens.\n * User must call authorize again to get tokens or user profile information.\n * @param {SignOutCallbacks} [signOutCallbacks] - This is mandatory on the first call and it gets registered internally.\n * For the subsequent calls it is optional. If provided it would take the given callback if not whatever was registered previously.\n * @return {void} - This method does not return a value. Instead, it uses callbacks to handle success or failure.\n */\n static signOut(signOutCallbacks) {\n if (!keplerLWATurboModules_1.default) {\n throw Error(`Something went wrong. Error creating the Turbo module manager`);\n }\n if (signOutCallbacks) {\n this.registerListener('signOutFailure', signOutCallbacks.signOutFailure);\n this.registerListener('signOutSuccess', signOutCallbacks.signOutSuccess);\n }\n keplerLWATurboModules_1.default.signOut();\n }\n /**\n * Registers an event listener for a specified event.\n * @param {string} eventName - The name of the event to listen for.\n * @param {function} callback - The callback function to execute when the event is triggered.\n * The callback receives the event payload.\n * @private\n */\n static registerListener = (eventName, callback) => {\n keplerLWATurboModules_1.default.registerListener(eventName, callback);\n };\n}\nexports.AuthorizationManager = AuthorizationManager;\n/**\n * Builds and returns the parameters required for an authorization request\n * based on the grant type and other optional fields.\n *\n * @param authorizeRequest - Object containing scopes, grantType, codeChallenge, and codeChallengeMethod\n * @returns A tuple containing:\n * - scopes: The requested scopes\n * - finalGrantType: The grant type to use (default is ACCESS_TOKEN)\n * - finalCodeChallenge: The PKCE code challenge (if applicable)\n * - finalCodeChallengeMethod: The PKCE challenge method (if applicable)\n */\nconst buildAuthorizeParams = (authorizeRequest) => {\n // Destructure fields from the authorize request. Using 'any' for flexibility in input structure.\n const { scopes, grantType, codeChallenge, codeChallengeMethod } = authorizeRequest;\n // Set default values\n let finalGrantType = LWADataTypes_1.GrantTypeName.ACCESS_TOKEN; // Default grant type\n let finalCodeChallenge = ''; // Default empty string for code challenge\n let finalCodeChallengeMethod = ''; // Default empty string for challenge method\n // If the grant type is AUTH_CODE (indicating PKCE flow), override defaults\n if (grantType === 'AUTH_CODE') {\n finalGrantType = grantType;\n finalCodeChallenge = codeChallenge || ''; // Use provided code challenge or empty string\n finalCodeChallengeMethod = codeChallengeMethod || ''; // Use provided method or empty string\n }\n // Return all required parameters as an array\n return [scopes, finalGrantType, finalCodeChallenge, finalCodeChallengeMethod];\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst keplerscript_turbomodule_api_1 = require(\"@amazon-devices/keplerscript-turbomodule-api\");\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('keplerLWATurboModules');\n","\"use strict\";\n/**\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TurboModuleRegistry = void 0;\nexports.TurboModuleRegistry = require(\"./turbomodules/TurboModuleRegistry\");\n","\"use strict\";\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getEnforcing = exports.get = void 0;\nconst invariant_1 = require(\"../invariant/invariant\");\nconst turboModuleProxy = global.__turboModuleProxy;\nfunction requireModule(name) {\n if (turboModuleProxy != null) {\n return turboModuleProxy(name);\n }\n return null;\n}\nfunction get(name) {\n return requireModule(name);\n}\nexports.get = get;\nfunction getEnforcing(name) {\n const module = requireModule(name);\n (0, invariant_1.default)(module != null, `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` + 'Verify that a module by this name is registered in the native binary.');\n return module;\n}\nexports.getEnforcing = getEnforcing;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\n/**\n * amznmod_tmapi: Migrated to typescript\n */\n'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\nconst NODE_ENV = process.env.NODE_ENV;\nconst invariant = (condition, format, ...extraArgs) => {\n if (NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n if (!condition) {\n let error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.');\n }\n else {\n let argIndex = 0;\n error = new Error(format.replace(/%s/g, () => (extraArgs[argIndex++])));\n error.name = 'Invariant Violation';\n }\n // @ts-ignore `framesToPop` is not part of Error type but something Meta (and maybe RN) uses.\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\nexports.default = invariant;\n","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableRest = require(\"./nonIterableRest.js\");\nfunction _slicedToArray(r, e) {\n return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();\n}\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;\n }\n}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Status = exports.ScopeName = exports.GrantTypeName = void 0;\nvar GrantTypeName;\n(function (GrantTypeName) {\n GrantTypeName[\"ACCESS_TOKEN\"] = \"ACCESS_TOKEN\";\n GrantTypeName[\"AUTH_CODE\"] = \"AUTH_CODE\";\n})(GrantTypeName = exports.GrantTypeName || (exports.GrantTypeName = {}));\n/**\n * Contains list of all possible scopes supported by Amazon Identity\n */\n/* eslint-disable @typescript-eslint/naming-convention */\nvar ScopeName;\n(function (ScopeName) {\n /**\n * Provides authorization to the user profile\n */\n ScopeName[\"PROFILE\"] = \"PROFILE\";\n /**\n * Provides authorization to the user's Amazon account ID\n */\n ScopeName[\"USERID\"] = \"USERID\";\n /**\n * Provides authorization to the user's zip/postal code\n */\n ScopeName[\"POSTAL_CODE\"] = \"POSTAL_CODE\";\n /**\n * Provides authorization to the user's Mobile number\n */\n ScopeName[\"MOBILE_NUMBER\"] = \"MOBILE_NUMBER\";\n})(ScopeName = exports.ScopeName || (exports.ScopeName = {}));\n/**\n * Enum representing various status codes for authentication and authorization errors.\n */\nvar Status;\n(function (Status) {\n /**\n * Indicates an access denied error, typically due to lack of permissions or authorization.\n */\n Status[Status[\"AccessDeniedError\"] = 0] = \"AccessDeniedError\";\n /**\n * Indicates a missing token error for required scopes during authentication.\n */\n Status[Status[\"MissingTokenForRequiredScopes\"] = 1] = \"MissingTokenForRequiredScopes\";\n /**\n * Indicates other miscellaneous errors not covered by specific codes.\n */\n Status[Status[\"Other\"] = 2] = \"Other\";\n})(Status = exports.Status || (exports.Status = {}));\n"],"x_facebook_sources":[null,[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","Object.defineProperty$argument_2.get"],"mappings":"AAA;gFCI,0ED;qECE,gDD;yECC,oDD"}],[{"names":["<global>","<anonymous>","AuthorizationManager","AuthorizationManager.getToken","AuthorizationManager.authorize","AuthorizationManager.getUser","AuthorizationManager.signOut","AuthorizationManager.registerListener","buildAuthorizeParams"],"mappings":"AAA;wDCC;CDE;AEU;ICW;KDS;IEW;KFW;IGU;KHS;IIS;KJS;8BKQ;KLE;CFC;6BQa;CRe"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","requireModule","get","getEnforcing"],"mappings":"AAA;ACmB;CDK;AEC;CFE;AGE;CHI"}],[{"names":["<global>","invariant","format.replace$argument_1"],"mappings":"AAA;kBC8B;oDCc,6BD;CDO"}],[{"names":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","_defineProperties","_createClass"],"mappings":"AAA;ACC;CDK;AEC;CFI"}],[{"names":["<global>","toPropertyKey"],"mappings":"AAA;ACE;CDG"}],[{"names":["<global>","toPrimitive"],"mappings":"AAA;ACC;CDS"}],[{"names":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["<global>","_slicedToArray"],"mappings":"AAA;ACI;CDE"}],[{"names":["_arrayWithHoles","<global>"],"mappings":"AAA;CCE"}],[{"names":["_iterableToArrayLimit","<global>"],"mappings":"AAA;CC0B"}],[{"names":["<global>","_unsupportedIterableToArray"],"mappings":"AAA;ACC;CDM"}],[{"names":["_arrayLikeToArray","<global>"],"mappings":"AAA;CCI"}],[{"names":["_nonIterableRest","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","<anonymous>"],"mappings":"AAA;CCI;CDG;CCM;CDiB;CCK;CDa"}]],"x_google_ignoreList":[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],"names":["global","_majorVersionToNoVersionIdMap","globalThis","window","Object","defineProperty","exports","value","GrantTypeName","ScopeName","AuthorizationManager","undefined","enumerable","get","_$$_REQUIRE","_dependencyMap","__importDefault","mod","__esModule","keplerLWATurboModules_1","require","key","getToken","getTokenCallbacks","default","Error","registerListener","getTokenSuccess","getTokenFailure","authorize","authorizeRequest","authorizeCallbacks","_buildAuthorizeParams","buildAuthorizeParams","_buildAuthorizeParams2","scopes","finalGrantType","finalCodeChallenge","finalCodeChallengeMethod","authorizeSuccess","authorizeFailure","authorizeCancel","getUser","getUserCallbacks","getUserSuccess","getUserFailure","signOut","signOutCallbacks","signOutFailure","signOutSuccess","eventName","callback","grantType","codeChallenge","codeChallengeMethod","ACCESS_TOKEN","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","name","module","NODE_ENV","invariant","condition","format","_len","arguments","length","extraArgs","Array","_key","error","argIndex","replace","framesToPop","_classCallCheck","a","n","TypeError","_defineProperties","e","r","t","o","configurable","writable","_createClass","prototype","toPropertyKey","i","toPrimitive","Symbol","call","String","Number","_typeof","iterator","constructor","_slicedToArray","_arrayWithHoles","isArray","_iterableToArrayLimit","l","u","f","next","done","push","_unsupportedIterableToArray","toString","slice","from","test","_arrayLikeToArray","_nonIterableRest","Status"],"mappings":";;ECAAA,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;AAAC,UAAAC,UAAA,mBAAAA,UAAA,UAAAF,MAAA,mBAAAA,MAAA,UAAAG,MAAA,mBAAAA,MAAA;;ECRpF,YAAY;;EACZC,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;IAAEC,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AG,aAAa;IACxC;AACJ;AACA;IACIA,SAAS,CAAC,eAAe,CAAC,GAAG,eAAe;EAChD,CAAC,EAAEA,SAAS,GAAGH,OAAO,CAACG,SAAS,KAAKH,OAAO,CAACG,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC;EAC7D;AACA;AACA;EACA,IAAI4G,MAAM;EACV,CAAC,UAAUA,MAAM,EAAE;IACf;AACJ;AACA;IACIA,MAAM,CAACA,MAAM,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,GAAG,mBAAmB;IAC7D;AACJ;AACA;IACIA,MAAM,CAACA,MAAM,CAAC,+BAA+B,CAAC,GAAG,CAAC,CAAC,GAAG,+BAA+B;IACrF;AACJ;AACA;IACIA,MAAM,CAACA,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO;EACzC,CAAC,EAAEA,MAAM,GAAG/G,OAAO,CAAC+G,MAAM,KAAK/G,OAAO,CAAC+G,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;AAAC","x_amazon_bundleId":"826b205ae73a5c088285aefaf4d8eaee06bc1eb2823503c7608139a94e2493d1"}
@@ -1,17 +1,14 @@
1
- node_modules/@react-native/js-polyfills_0.72.1/console.js:c081be8f6c0109dd350f
2
- node_modules/@react-native/js-polyfills_0.72.1/error-guard.js:057b32c72f7f399723ba
3
- node_modules/@react-native/js-polyfills_0.72.1/Object.es8.js:a9bf7d37774d7198840b
4
1
  node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/index.js:8a35a86b7946c72e0207
5
2
  node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/turbomodules/TurboModuleRegistry.js:33d6b98d6e39f6b0a8f9
6
3
  node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/invariant/invariant.js:8d9475a2cb77b53e450d
7
- node_modules/@babel/runtime_7.28.4/helpers/classCallCheck.js:cb664999166f9660a878
8
- node_modules/@babel/runtime_7.28.4/helpers/createClass.js:68819e29ebee24bb0e88
9
- node_modules/@babel/runtime_7.28.4/helpers/toPropertyKey.js:cbba112244d360ffda7a
10
- node_modules/@babel/runtime_7.28.4/helpers/toPrimitive.js:ad82d340d0b5dc5f0801
11
- node_modules/@babel/runtime_7.28.4/helpers/typeof.js:e08c69ed06cf526909e3
12
- node_modules/@babel/runtime_7.28.4/helpers/slicedToArray.js:d73b3a84588342abd1b6
13
- node_modules/@babel/runtime_7.28.4/helpers/arrayWithHoles.js:c18fba4833d885627fc3
14
- node_modules/@babel/runtime_7.28.4/helpers/iterableToArrayLimit.js:db861c9134e305a92464
15
- node_modules/@babel/runtime_7.28.4/helpers/unsupportedIterableToArray.js:e7044bb724c5bd68e2cc
16
- node_modules/@babel/runtime_7.28.4/helpers/arrayLikeToArray.js:378be3062418cfac9327
17
- node_modules/@babel/runtime_7.28.4/helpers/nonIterableRest.js:d2c95b166a5bd41ca703
4
+ node_modules/@babel/runtime_7.29.2/helpers/classCallCheck.js:2bfb5e99807ec81b822f
5
+ node_modules/@babel/runtime_7.29.2/helpers/createClass.js:cc42269051bc9ff17a63
6
+ node_modules/@babel/runtime_7.29.2/helpers/toPropertyKey.js:7519d1b9ea0de500d604
7
+ node_modules/@babel/runtime_7.29.2/helpers/toPrimitive.js:6c47e04d255cdfb1533c
8
+ node_modules/@babel/runtime_7.29.2/helpers/typeof.js:7b6247ce00695d888c36
9
+ node_modules/@babel/runtime_7.29.2/helpers/slicedToArray.js:8972a767e9133b0e3a28
10
+ node_modules/@babel/runtime_7.29.2/helpers/arrayWithHoles.js:ee99881fa9643e7bd96f
11
+ node_modules/@babel/runtime_7.29.2/helpers/iterableToArrayLimit.js:1847ec9d510321afd855
12
+ node_modules/@babel/runtime_7.29.2/helpers/unsupportedIterableToArray.js:0c30490eff100ca51d7c
13
+ node_modules/@babel/runtime_7.29.2/helpers/arrayLikeToArray.js:93f664c5afc3b3c0ffb9
14
+ node_modules/@babel/runtime_7.29.2/helpers/nonIterableRest.js:9ef80b625777ecb8d705
@@ -13,6 +13,7 @@
13
13
  "0.0.54": "/com.amazon.kepler.identity_lwa_lib_0@IIdentityLwaLib_0",
14
14
  "0.0.55": "/com.amazon.kepler.identity_lwa_lib_0@IIdentityLwaLib_0",
15
15
  "0.0.56": "/com.amazon.kepler.identity_lwa_lib_0@IIdentityLwaLib_0",
16
- "0.0.57": "/com.amazon.kepler.identity_lwa_lib_0@IIdentityLwaLib_0"
16
+ "0.0.57": "/com.amazon.kepler.identity_lwa_lib_0@IIdentityLwaLib_0",
17
+ "0.0.58": "/com.amazon.kepler.identity_lwa_lib_0@IIdentityLwaLib_0"
17
18
  }
18
19
  }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "@amazon-devices/keplerscript-identity-lwa-lib", "version": "0.0.57", "main": "dist/index.js", "types": "dist/index.d.ts", "files": ["dist", "react-native.config.js", "kepler-compatibility.json", "SystemModules", "SystemBundles", "THIRD_PARTY_NOTICES.txt", "kepler-transformed-package-info.json"], "scripts": {"clean": "rm -rf node_modules buildinfo.json dist bvm && echo 'Cleanup completed.' || echo 'Cleanup failed.'", "kepler-codegen": "keplerscript-turbomodule-api codegen src/turbo-modules/keplerLWATurboModules.ts -o kepler/turbo-modules/ --new -s keplerLWATurboModulesTurboModule && npm run clean-codegen-backups && echo 'Kepler codegen completed.' || echo 'Kepler codegen failed.'", "clean-codegen-backups": "rm -rf kepler/turbo-modules/keplerLWATurboModules.cpp.bak kepler/turbo-modules/keplerLWATurboModules.h.bak && echo 'Cleaned codegen backups.' || echo 'Failed to clean codegen backups.'", "test": "jest --colors", "lint": "eslint src tst", "lint:fix": "eslint src tst .ts,.tsx --fix", "compile": "tsc -p tsconfig-build.json", "format": "prettier --write src tst", "prepublishOnly": "KEPLER_NPM_COMMAND=npm-pretty-much react-native build-system-bundle-kepler", "generate-attribution": "generate-attribution -o ./.attr && mv .attr/attribution.txt THIRD_PARTY_NOTICES.txt && rm -rf .attr", "checkLicenses": "license-checker --production --exclude MIT,Apache-2.0,BSD-2-Clause,BSD-3-Clause,ISC,0BSD", "build": "npm-run-all lint test compile checkLicenses generate-attribution"}, "dependencies": {"@amazon-devices/keplerscript-turbomodule-api": "^1.0.0"}, "devDependencies": {"@babel/core": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native/eslint-config": "0.72.2", "@types/jest": "^28.0.0", "@typescript-eslint/eslint-plugin": "^5.30.0", "babel-jest": "^28.0.0", "eslint": "^8.12.0", "jest": "^28.0.0", "metro-react-native-babel-preset": "^0.76.5", "npm-run-all": "^4.1.5", "prettier": "^2.6.2", "ts-jest": "^28.0.0", "typescript": "4.8.4", "@amazon-devices/kepler-cli-platform": "^0", "@react-native-community/cli": "^11.2.0", "license-checker": "^25.0.1", "oss-attribution-generator": "^1.7.1"}, "kepler": {"projectType": "turbomodule", "targets": ["tv"], "features": ["vega"], "toolchain": "clang", "api": 0.1, "keplerInitializationSharedLibrary": "keplerLWATurboModules"}, "license": "See license in LICENSE"}
1
+ {"name": "@amazon-devices/keplerscript-identity-lwa-lib", "version": "0.0.58", "main": "dist/index.js", "types": "dist/index.d.ts", "files": ["dist", "react-native.config.js", "kepler-compatibility.json", "SystemModules", "SystemBundles", "THIRD_PARTY_NOTICES.txt", "kepler-transformed-package-info.json"], "scripts": {"clean": "rm -rf node_modules buildinfo.json dist bvm && echo 'Cleanup completed.' || echo 'Cleanup failed.'", "kepler-codegen": "keplerscript-turbomodule-api codegen src/turbo-modules/keplerLWATurboModules.ts -o kepler/turbo-modules/ --new -s keplerLWATurboModulesTurboModule && npm run clean-codegen-backups && echo 'Kepler codegen completed.' || echo 'Kepler codegen failed.'", "clean-codegen-backups": "rm -rf kepler/turbo-modules/keplerLWATurboModules.cpp.bak kepler/turbo-modules/keplerLWATurboModules.h.bak && echo 'Cleaned codegen backups.' || echo 'Failed to clean codegen backups.'", "test": "jest --colors", "lint": "eslint src tst", "lint:fix": "eslint src tst .ts,.tsx --fix", "compile": "tsc -p tsconfig-build.json", "format": "prettier --write src tst", "prepublishOnly": "KEPLER_NPM_COMMAND=npm-pretty-much react-native build-system-bundle-kepler", "generate-attribution": "generate-attribution -o ./.attr && mv .attr/attribution.txt THIRD_PARTY_NOTICES.txt && rm -rf .attr", "checkLicenses": "license-checker --production --exclude MIT,Apache-2.0,BSD-2-Clause,BSD-3-Clause,ISC,0BSD", "build": "npm-run-all lint test compile checkLicenses generate-attribution docs", "docs": "typedocked"}, "dependencies": {"@amazon-devices/keplerscript-turbomodule-api": "^1.0.0"}, "devDependencies": {"@amazon-devices/typedocked": "*", "@babel/core": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native/eslint-config": "0.72.2", "@types/jest": "^28.0.0", "@typescript-eslint/eslint-plugin": "^5.30.0", "babel-jest": "^28.0.0", "eslint": "^8.12.0", "jest": "^28.0.0", "metro-react-native-babel-preset": "^0.76.5", "npm-run-all": "^4.1.5", "prettier": "^2.6.2", "ts-jest": "^28.0.0", "typescript": "4.8.4", "@amazon-devices/kepler-cli-platform": "^0", "@react-native-community/cli": "^11.2.0", "license-checker": "^25.0.1", "oss-attribution-generator": "^1.7.1"}, "kepler": {"projectType": "turbomodule", "targets": ["tv"], "features": ["vega"], "toolchain": "clang", "api": 0.1, "keplerInitializationSharedLibrary": "keplerLWATurboModules"}, "license": "See license in LICENSE"}