@line/liff-mock
Version:
Make testing your LIFF app easy
14 lines (13 loc) • 535 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDecodedIDToken = void 0;
var const_1 = require("../const");
var GlobalStore_1 = require("../store/GlobalStore");
var MockDataStore_1 = require("../store/MockDataStore");
var getDecodedIDToken = function () {
if (!GlobalStore_1.globalStore.isInitCalled) {
throw new Error(const_1.ERROR_MESSAGE.REQUIRE_INIT);
}
return MockDataStore_1.mockStore.getMockData('getDecodedIDToken');
};
exports.getDecodedIDToken = getDecodedIDToken;