@newskit-render/my-account 0.88.1 → 0.90.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/README.md +1 -0
- package/dist/Components/Elements/BackButton/BackButton.js +1 -1
- package/dist/Components/Elements/BackButton/BackButton.js.map +1 -1
- package/dist/Components/Elements/Head/Head.js +1 -1
- package/dist/Components/Elements/Head/Head.js.map +1 -1
- package/dist/Components/Elements/PastDueBanner/PastDueBanner.js +8 -8
- package/dist/Components/Elements/PastDueBanner/PastDueBanner.js.map +1 -1
- package/dist/Components/Elements/PastDueBanner/PastDueBannerExternal.js +1 -1
- package/dist/Components/Elements/PastDueBanner/PastDueBannerExternal.js.map +1 -1
- package/dist/Components/Elements/PastDueBanner/helpers.js +5 -3
- package/dist/Components/Elements/PastDueBanner/helpers.js.map +1 -1
- package/dist/Components/Elements/PaymentIcon/PaymentIcon.js +1 -1
- package/dist/Components/Elements/PaymentIcon/PaymentIcon.js.map +1 -1
- package/dist/Components/Elements/Toast/Toast.d.ts +12 -1
- package/dist/Components/Elements/Toast/Toast.js +24 -22
- package/dist/Components/Elements/Toast/Toast.js.map +1 -1
- package/dist/Components/Elements/Toast/sendToast.d.ts +2 -2
- package/dist/Components/Elements/Toast/sendToast.js +4 -3
- package/dist/Components/Elements/Toast/sendToast.js.map +1 -1
- package/dist/Components/Sections/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/Components/Sections/ButtonGroup/ButtonGroup.js.map +1 -1
- package/dist/Components/Sections/ContentListView/ContentListView.js +8 -8
- package/dist/Components/Sections/ContentListView/ContentListView.js.map +1 -1
- package/dist/Components/Sections/ContentListView/types.d.ts +1 -1
- package/dist/Components/Sections/Form/Address/FormAddress.d.ts +2 -4
- package/dist/Components/Sections/Form/Address/FormAddress.js +29 -26
- package/dist/Components/Sections/Form/Address/FormAddress.js.map +1 -1
- package/dist/Components/Sections/Form/CommentingNotifications/CommentingNotifications.d.ts +1 -1
- package/dist/Components/Sections/Form/CommentingNotifications/CommentingNotifications.js +42 -47
- package/dist/Components/Sections/Form/CommentingNotifications/CommentingNotifications.js.map +1 -1
- package/dist/Components/Sections/Form/CommentingNotifications/types.d.ts +6 -1
- package/dist/Components/Sections/Form/DisplayName/DisplayName.js +2 -2
- package/dist/Components/Sections/Form/DisplayName/DisplayName.js.map +1 -1
- package/dist/Components/Sections/Form/Email/Email.js +5 -3
- package/dist/Components/Sections/Form/Email/Email.js.map +1 -1
- package/dist/Components/Sections/Form/FormComponent.js +6 -6
- package/dist/Components/Sections/Form/FormComponent.js.map +1 -1
- package/dist/Components/Sections/Form/FormGrid.js +1 -1
- package/dist/Components/Sections/Form/FormGrid.js.map +1 -1
- package/dist/Components/Sections/Form/Name/FormName.js +1 -1
- package/dist/Components/Sections/Form/Name/FormName.js.map +1 -1
- package/dist/Components/Sections/Form/Password/Password.js +8 -8
- package/dist/Components/Sections/Form/Password/Password.js.map +1 -1
- package/dist/Components/Sections/Form/Payment/Payment.js +20 -24
- package/dist/Components/Sections/Form/Payment/Payment.js.map +1 -1
- package/dist/Components/Sections/Form/Phone/Phone.d.ts +4 -4
- package/dist/Components/Sections/Form/Phone/Phone.js +17 -20
- package/dist/Components/Sections/Form/Phone/Phone.js.map +1 -1
- package/dist/Components/Sections/Form/onFormSubmit.js +9 -5
- package/dist/Components/Sections/Form/onFormSubmit.js.map +1 -1
- package/dist/Components/Sections/Form/types.d.ts +1 -1
- package/dist/Components/Sections/Header/Header.js +1 -1
- package/dist/Components/Sections/Header/Header.js.map +1 -1
- package/dist/Components/Sections/Header/HeaderReverse.js +1 -1
- package/dist/Components/Sections/Header/HeaderReverse.js.map +1 -1
- package/dist/Components/Sections/NavigationFooter/NavigationFooter.js +12 -18
- package/dist/Components/Sections/NavigationFooter/NavigationFooter.js.map +1 -1
- package/dist/Components/Sections/NavigationPrimary/NavigationPrimary.js +7 -7
- package/dist/Components/Sections/NavigationPrimary/NavigationPrimary.js.map +1 -1
- package/dist/Components/Sections/NavigationSecondary/NavigationSecondary.js +7 -8
- package/dist/Components/Sections/NavigationSecondary/NavigationSecondary.js.map +1 -1
- package/dist/Components/Templates/CancellationRender.d.ts +6 -0
- package/dist/Components/Templates/CancellationRender.js +36 -0
- package/dist/Components/Templates/CancellationRender.js.map +1 -0
- package/dist/Components/Templates/DisplayRenderer.js +3 -3
- package/dist/Components/Templates/DisplayRenderer.js.map +1 -1
- package/dist/Components/Templates/EditRenderer.js +1 -1
- package/dist/Components/Templates/EditRenderer.js.map +1 -1
- package/dist/Components/Templates/LayoutTemplate.js +7 -7
- package/dist/Components/Templates/LayoutTemplate.js.map +1 -1
- package/dist/Components/Templates/index.d.ts +2 -1
- package/dist/Components/Templates/index.js +3 -1
- package/dist/Components/Templates/index.js.map +1 -1
- package/dist/api/getAccessToken.js +1 -1
- package/dist/api/getAccessToken.js.map +1 -1
- package/dist/api/mutateHandler.d.ts +0 -2
- package/dist/api/mutateHandler.js +11 -75
- package/dist/api/mutateHandler.js.map +1 -1
- package/dist/api/queryHandler.js +3 -3
- package/dist/api/queryHandler.js.map +1 -1
- package/dist/api/resetPassword.js +6 -2
- package/dist/api/resetPassword.js.map +1 -1
- package/dist/context/index.js +3 -3
- package/dist/context/index.js.map +1 -1
- package/dist/context/types.d.ts +7 -0
- package/dist/getProviderProps.js +10 -6
- package/dist/getProviderProps.js.map +1 -1
- package/dist/helpers/RenderScriptList.js +1 -1
- package/dist/helpers/RenderScriptList.js.map +1 -1
- package/dist/helpers/apiHandlerUtils.d.ts +5 -0
- package/dist/helpers/apiHandlerUtils.js +137 -0
- package/dist/helpers/apiHandlerUtils.js.map +1 -0
- package/dist/helpers/apolloLinks.js +2 -2
- package/dist/helpers/apolloLinks.js.map +1 -1
- package/dist/helpers/componentUtils.js +3 -3
- package/dist/helpers/componentUtils.js.map +1 -1
- package/dist/helpers/createApolloClient.js +3 -3
- package/dist/helpers/createApolloClient.js.map +1 -1
- package/dist/helpers/dataUtils.d.ts +1 -1
- package/dist/helpers/dataUtils.js +18 -18
- package/dist/helpers/dataUtils.js.map +1 -1
- package/dist/helpers/getQuery.js +3 -3
- package/dist/helpers/getQuery.js.map +1 -1
- package/dist/helpers/index.d.ts +8 -7
- package/dist/helpers/index.js +8 -1
- package/dist/helpers/index.js.map +1 -1
- package/dist/helpers/providerUtils.d.ts +7 -0
- package/dist/helpers/providerUtils.js +40 -2
- package/dist/helpers/providerUtils.js.map +1 -1
- package/dist/helpers/sessionParser.js +1 -1
- package/dist/helpers/sessionParser.js.map +1 -1
- package/dist/helpers/setupTests.js +2 -1
- package/dist/helpers/setupTests.js.map +1 -1
- package/dist/helpers/styleMock.js +1 -0
- package/dist/helpers/styleMock.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/pages/Cancellation.d.ts +5 -0
- package/dist/pages/Cancellation.js +62 -0
- package/dist/pages/Cancellation.js.map +1 -0
- package/dist/pages/EditField.js +10 -14
- package/dist/pages/EditField.js.map +1 -1
- package/dist/pages/PersonalDetails.js +3 -3
- package/dist/pages/PersonalDetails.js.map +1 -1
- package/dist/pages/SubscriptionAndBilling.js +3 -3
- package/dist/pages/SubscriptionAndBilling.js.map +1 -1
- package/dist/pages/types.d.ts +3 -0
- package/dist/providers/editFieldProvider.js +38 -35
- package/dist/providers/editFieldProvider.js.map +1 -1
- package/dist/providers/newslettersAndAlertsProvider.js +2 -2
- package/dist/providers/newslettersAndAlertsProvider.js.map +1 -1
- package/dist/providers/personalDetailsProvider.js +1 -1
- package/dist/providers/personalDetailsProvider.js.map +1 -1
- package/dist/providers/subscriptionAndBillingProvider.js +1 -1
- package/dist/providers/subscriptionAndBillingProvider.js.map +1 -1
- package/dist/providers/types.d.ts +4 -0
- package/dist/queries/getEditField.d.ts +5 -1
- package/dist/queries/getEditField.js +14 -8
- package/dist/queries/getEditField.js.map +1 -1
- package/dist/queries/getUserDisplayName.js +1 -1
- package/dist/queries/getUserDisplayName.js.map +1 -1
- package/dist/queries/getUserNewsletter.js +1 -1
- package/dist/queries/getUserNewsletter.js.map +1 -1
- package/dist/queries/getUserPaymentInstance.js +1 -1
- package/dist/queries/getUserPaymentInstance.js.map +1 -1
- package/dist/queries/getUserProfile.js +1 -1
- package/dist/queries/getUserProfile.js.map +1 -1
- package/dist/queries/getUserQuery.js +3 -3
- package/dist/queries/getUserQuery.js.map +1 -1
- package/dist/queries/getUserSubscription.js +1 -1
- package/dist/queries/getUserSubscription.js.map +1 -1
- package/dist/queries/mutateAddress.js +1 -1
- package/dist/queries/mutateAddress.js.map +1 -1
- package/dist/queries/mutateCustom.js +1 -1
- package/dist/queries/mutateCustom.js.map +1 -1
- package/dist/queries/mutateDisplayName.js +1 -1
- package/dist/queries/mutateDisplayName.js.map +1 -1
- package/dist/queries/mutatePaymentMethod.js +1 -1
- package/dist/queries/mutatePaymentMethod.js.map +1 -1
- package/dist/queries/mutateUser.js +1 -1
- package/dist/queries/mutateUser.js.map +1 -1
- package/dist/queries/updateUser.js +1 -1
- package/dist/queries/updateUser.js.map +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -7,15 +7,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.getUserNewskitApi = exports.getUserExternal = exports.getUserInternal = void 0;
|
|
8
8
|
var client_1 = require("@apollo/client");
|
|
9
9
|
var getUserInternal = function (queryFragment, fragmentName) {
|
|
10
|
-
return client_1.gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n query {\n user {\n ...", "\n }\n }\n "], ["\n ", "\n query {\n user {\n ...", "\n }\n }\n "])), queryFragment, fragmentName);
|
|
10
|
+
return (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n query {\n user {\n ...", "\n }\n }\n "], ["\n ", "\n query {\n user {\n ...", "\n }\n }\n "])), queryFragment, fragmentName);
|
|
11
11
|
};
|
|
12
12
|
exports.getUserInternal = getUserInternal;
|
|
13
13
|
var getUserExternal = function (queryFragment, fragmentName) {
|
|
14
|
-
return client_1.gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n query($id: ID) {\n user(id: $id) {\n ...", "\n }\n }\n "], ["\n ", "\n query($id: ID) {\n user(id: $id) {\n ...", "\n }\n }\n "])), queryFragment, fragmentName);
|
|
14
|
+
return (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n query($id: ID) {\n user(id: $id) {\n ...", "\n }\n }\n "], ["\n ", "\n query($id: ID) {\n user(id: $id) {\n ...", "\n }\n }\n "])), queryFragment, fragmentName);
|
|
15
15
|
};
|
|
16
16
|
exports.getUserExternal = getUserExternal;
|
|
17
17
|
var getUserNewskitApi = function (queryFragment, fragmentName) {
|
|
18
|
-
return client_1.gql(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n query getUser($publisher: Publisher!) {\n user(publisher: $publisher) {\n ...", "\n }\n }"], ["\n ", "\n query getUser($publisher: Publisher!) {\n user(publisher: $publisher) {\n ...", "\n }\n }"])), queryFragment, fragmentName);
|
|
18
|
+
return (0, client_1.gql)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n query getUser($publisher: Publisher!) {\n user(publisher: $publisher) {\n ...", "\n }\n }"], ["\n ", "\n query getUser($publisher: Publisher!) {\n user(publisher: $publisher) {\n ...", "\n }\n }"])), queryFragment, fragmentName);
|
|
19
19
|
};
|
|
20
20
|
exports.getUserNewskitApi = getUserNewskitApi;
|
|
21
21
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUserQuery.js","sourceRoot":"","sources":["../../src/queries/getUserQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAE3C,IAAM,eAAe,GAAG,UAC7B,aAA2B,EAC3B,YAAoB;IAEpB,
|
|
1
|
+
{"version":3,"file":"getUserQuery.js","sourceRoot":"","sources":["../../src/queries/getUserQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAE3C,IAAM,eAAe,GAAG,UAC7B,aAA2B,EAC3B,YAAoB;IAEpB,WAAO,YAAG,gJAAA,QACN,EAAa,0CAGN,EAAY,sBAGtB,KANG,aAAa,EAGN,YAAY,EAGtB;AACH,CAAC,CAAA;AAZY,QAAA,eAAe,mBAY3B;AAEM,IAAM,eAAe,GAAG,UAC7B,aAA2B,EAC3B,YAAoB;IAEpB,WAAO,YAAG,gLAAA,UACJ,EAAa,kEAGN,EAAY,4BAGtB,KANG,aAAa,EAGN,YAAY,EAGtB;AACL,CAAC,CAAA;AAZY,QAAA,eAAe,mBAY3B;AAEM,IAAM,iBAAiB,GAAG,UAC/B,aAA2B,EAC3B,YAAoB;IAEpB,WAAO,YAAG,mMAAA,QACN,EAAa,iGAGN,EAAY,kBAEnB,KALA,aAAa,EAGN,YAAY,EAEnB;AACN,CAAC,CAAA;AAXY,QAAA,iBAAiB,qBAW7B"}
|
|
@@ -6,6 +6,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.GET_USER_SUBSCRIPTION = void 0;
|
|
8
8
|
var client_1 = require("@apollo/client");
|
|
9
|
-
exports.GET_USER_SUBSCRIPTION = client_1.gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserSubscription on User {\n cpn\n vxInstances {\n isActive\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n spec {\n name\n schedule {\n name\n minimumTerm\n terminates\n phases {\n billingCycle\n duration\n price {\n amount\n currency\n }\n }\n }\n }\n }\n }\n spec {\n id\n name\n description\n }\n }\n }\n"], ["\n fragment UserSubscription on User {\n cpn\n vxInstances {\n isActive\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n spec {\n name\n schedule {\n name\n minimumTerm\n terminates\n phases {\n billingCycle\n duration\n price {\n amount\n currency\n }\n }\n }\n }\n }\n }\n spec {\n id\n name\n description\n }\n }\n }\n"])));
|
|
9
|
+
exports.GET_USER_SUBSCRIPTION = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserSubscription on User {\n cpn\n vxInstances {\n isActive\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n spec {\n name\n schedule {\n name\n minimumTerm\n terminates\n phases {\n billingCycle\n duration\n price {\n amount\n currency\n }\n }\n }\n }\n }\n }\n spec {\n id\n name\n description\n }\n }\n }\n"], ["\n fragment UserSubscription on User {\n cpn\n vxInstances {\n isActive\n interactions {\n ... on SubscriptionPaymentInstance {\n startAt\n pastDue {\n isPastDue\n since\n }\n provider {\n ... on Stripe {\n reference\n paymentMethod {\n ... on Card {\n brand\n expiryYear\n expiryMonth\n last4\n }\n }\n }\n }\n spec {\n name\n schedule {\n name\n minimumTerm\n terminates\n phases {\n billingCycle\n duration\n price {\n amount\n currency\n }\n }\n }\n }\n }\n }\n spec {\n id\n name\n description\n }\n }\n }\n"])));
|
|
10
10
|
var templateObject_1;
|
|
11
11
|
//# sourceMappingURL=getUserSubscription.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUserSubscription.js","sourceRoot":"","sources":["../../src/queries/getUserSubscription.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,qBAAqB,
|
|
1
|
+
{"version":3,"file":"getUserSubscription.js","sourceRoot":"","sources":["../../src/queries/getUserSubscription.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,qBAAqB,OAAG,YAAG,ikCAAA,6/BAkDvC,KAAA"}
|
|
@@ -8,7 +8,7 @@ exports.getMutateAddress = void 0;
|
|
|
8
8
|
var client_1 = require("@apollo/client");
|
|
9
9
|
//Used for address
|
|
10
10
|
var getMutateAddress = function () {
|
|
11
|
-
return client_1.gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: SaveUserAddressInput!) {\n saveUserAddress(id: $id, input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "], ["\n mutation ($id: ID, $input: SaveUserAddressInput!) {\n saveUserAddress(id: $id, input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "])));
|
|
11
|
+
return (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: SaveUserAddressInput!) {\n saveUserAddress(id: $id, input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "], ["\n mutation ($id: ID, $input: SaveUserAddressInput!) {\n saveUserAddress(id: $id, input: $input) {\n addresses {\n type\n country\n line1\n line2\n line3\n line4\n line5\n line6\n line7\n }\n }\n }\n "])));
|
|
12
12
|
};
|
|
13
13
|
exports.getMutateAddress = getMutateAddress;
|
|
14
14
|
var templateObject_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutateAddress.js","sourceRoot":"","sources":["../../src/queries/mutateAddress.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAElD,kBAAkB;AACX,IAAM,gBAAgB,GAAG;IAC9B,
|
|
1
|
+
{"version":3,"file":"mutateAddress.js","sourceRoot":"","sources":["../../src/queries/mutateAddress.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAElD,kBAAkB;AACX,IAAM,gBAAgB,GAAG;IAC9B,WAAO,YAAG,8XAAA,0TAgBT,KAAA;AACH,CAAC,CAAA;AAlBY,QAAA,gBAAgB,oBAkB5B"}
|
|
@@ -8,7 +8,7 @@ exports.getMutateCustomData = void 0;
|
|
|
8
8
|
var client_1 = require("@apollo/client");
|
|
9
9
|
//Used for single field of customData
|
|
10
10
|
var getMutateCustomData = function () {
|
|
11
|
-
return client_1.gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(id: $id, input: $input) {\n firstName\n }\n }\n "], ["\n mutation ($id: ID, $input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(id: $id, input: $input) {\n firstName\n }\n }\n "])));
|
|
11
|
+
return (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(id: $id, input: $input) {\n firstName\n }\n }\n "], ["\n mutation ($id: ID, $input: SaveUserCustomDataInput!) {\n saveUserCustomDataSingle(id: $id, input: $input) {\n firstName\n }\n }\n "])));
|
|
12
12
|
};
|
|
13
13
|
exports.getMutateCustomData = getMutateCustomData;
|
|
14
14
|
var templateObject_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutateCustom.js","sourceRoot":"","sources":["../../src/queries/mutateCustom.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAElD,qCAAqC;AAC9B,IAAM,mBAAmB,GAAG;IACjC,
|
|
1
|
+
{"version":3,"file":"mutateCustom.js","sourceRoot":"","sources":["../../src/queries/mutateCustom.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAElD,qCAAqC;AAC9B,IAAM,mBAAmB,GAAG;IACjC,WAAO,YAAG,mOAAA,+JAMT,KAAA;AACH,CAAC,CAAA;AARY,QAAA,mBAAmB,uBAQ/B"}
|
|
@@ -8,7 +8,7 @@ exports.getMutateDisplayName = void 0;
|
|
|
8
8
|
var client_1 = require("@apollo/client");
|
|
9
9
|
//Used for Display name and notification preferences
|
|
10
10
|
var getMutateDisplayName = function () {
|
|
11
|
-
return client_1.gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation (\n $notifications: NotificationsInput\n $displayName: String!\n $publisher: Publisher!\n ) {\n updateUser(\n notifications: $notifications\n displayName: $displayName\n publisher: $publisher\n ) {\n success\n }\n }\n "], ["\n mutation (\n $notifications: NotificationsInput\n $displayName: String!\n $publisher: Publisher!\n ) {\n updateUser(\n notifications: $notifications\n displayName: $displayName\n publisher: $publisher\n ) {\n success\n }\n }\n "])));
|
|
11
|
+
return (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation (\n $notifications: NotificationsInput\n $displayName: String!\n $publisher: Publisher!\n ) {\n updateUser(\n notifications: $notifications\n displayName: $displayName\n publisher: $publisher\n ) {\n success\n }\n }\n "], ["\n mutation (\n $notifications: NotificationsInput\n $displayName: String!\n $publisher: Publisher!\n ) {\n updateUser(\n notifications: $notifications\n displayName: $displayName\n publisher: $publisher\n ) {\n success\n }\n }\n "])));
|
|
12
12
|
};
|
|
13
13
|
exports.getMutateDisplayName = getMutateDisplayName;
|
|
14
14
|
var templateObject_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutateDisplayName.js","sourceRoot":"","sources":["../../src/queries/mutateDisplayName.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAElD,oDAAoD;AAC7C,IAAM,oBAAoB,GAAG;IAClC,
|
|
1
|
+
{"version":3,"file":"mutateDisplayName.js","sourceRoot":"","sources":["../../src/queries/mutateDisplayName.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAElD,oDAAoD;AAC7C,IAAM,oBAAoB,GAAG;IAClC,WAAO,YAAG,gXAAA,4SAcT,KAAA;AACH,CAAC,CAAA;AAhBY,QAAA,oBAAoB,wBAgBhC"}
|
|
@@ -8,7 +8,7 @@ exports.getMutatePaymentMethod = void 0;
|
|
|
8
8
|
var client_1 = require("@apollo/client");
|
|
9
9
|
//Used for single field of customData
|
|
10
10
|
var getMutatePaymentMethod = function () {
|
|
11
|
-
return client_1.gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(id: $id, input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "], ["\n mutation ($id: ID, $input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(id: $id, input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "])));
|
|
11
|
+
return (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(id: $id, input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "], ["\n mutation ($id: ID, $input: StripeUpdatePaymentMethodInput!) {\n stripeUpdatePaymentMethod(id: $id, input: $input) {\n __typename\n ... on StripeUpdatePaymentMethodSucceeded {\n status\n }\n ... on StripeRequiresPaymentMethod {\n status\n }\n ... on StripeRequiresSetupIntentConfirmation {\n clientSecret\n }\n }\n }\n "])));
|
|
12
12
|
};
|
|
13
13
|
exports.getMutatePaymentMethod = getMutatePaymentMethod;
|
|
14
14
|
var templateObject_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutatePaymentMethod.js","sourceRoot":"","sources":["../../src/queries/mutatePaymentMethod.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAElD,qCAAqC;AAC9B,IAAM,sBAAsB,GAAG;IACpC,
|
|
1
|
+
{"version":3,"file":"mutatePaymentMethod.js","sourceRoot":"","sources":["../../src/queries/mutatePaymentMethod.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAElD,qCAAqC;AAC9B,IAAM,sBAAsB,GAAG;IACpC,WAAO,YAAG,oeAAA,gaAeT,KAAA;AACH,CAAC,CAAA;AAjBY,QAAA,sBAAsB,0BAiBlC"}
|
|
@@ -8,7 +8,7 @@ exports.getMutateUser = void 0;
|
|
|
8
8
|
var client_1 = require("@apollo/client");
|
|
9
9
|
//Used for firstname & lastName
|
|
10
10
|
var getMutateUser = function () {
|
|
11
|
-
return client_1.gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n email\n }\n }\n "], ["\n mutation ($id: ID, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n email\n }\n }\n "])));
|
|
11
|
+
return (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($id: ID, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n email\n }\n }\n "], ["\n mutation ($id: ID, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n email\n }\n }\n "])));
|
|
12
12
|
};
|
|
13
13
|
exports.getMutateUser = getMutateUser;
|
|
14
14
|
var templateObject_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutateUser.js","sourceRoot":"","sources":["../../src/queries/mutateUser.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAElD,+BAA+B;AACxB,IAAM,aAAa,GAAG;IAC3B,
|
|
1
|
+
{"version":3,"file":"mutateUser.js","sourceRoot":"","sources":["../../src/queries/mutateUser.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAElD,+BAA+B;AACxB,IAAM,aAAa,GAAG;IAC3B,WAAO,YAAG,yMAAA,qIAMT,KAAA;AACH,CAAC,CAAA;AARY,QAAA,aAAa,iBAQzB"}
|
|
@@ -6,6 +6,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.UPDATE_USER = void 0;
|
|
8
8
|
var client_1 = require("@apollo/client");
|
|
9
|
-
exports.UPDATE_USER = client_1.gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input)\n }\n"], ["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input)\n }\n"])));
|
|
9
|
+
exports.UPDATE_USER = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input)\n }\n"], ["\n mutation ($input: UpdateUserInput!) {\n updateUser(input: $input)\n }\n"])));
|
|
10
10
|
var templateObject_1;
|
|
11
11
|
//# sourceMappingURL=updateUser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateUser.js","sourceRoot":"","sources":["../../src/queries/updateUser.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,WAAW,
|
|
1
|
+
{"version":3,"file":"updateUser.js","sourceRoot":"","sources":["../../src/queries/updateUser.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,WAAW,OAAG,YAAG,qJAAA,iFAI7B,KAAA"}
|
package/dist/theme/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.accountTheme = void 0;
|
|
4
4
|
var newskit_1 = require("newskit");
|
|
5
|
-
exports.accountTheme = newskit_1.createTheme({
|
|
5
|
+
exports.accountTheme = (0, newskit_1.createTheme)({
|
|
6
6
|
name: 'account-theme',
|
|
7
7
|
overrides: {
|
|
8
8
|
stylePresets: {
|
package/dist/theme/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":";;;AAAA,mCAAqC;AAExB,QAAA,YAAY,GAAG,qBAAW,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":";;;AAAA,mCAAqC;AAExB,QAAA,YAAY,GAAG,IAAA,qBAAW,EAAC;IACtC,IAAI,EAAE,eAAe;IACrB,SAAS,EAAE;QACT,YAAY,EAAE;YACZ,yBAAyB,EAAE;gBACzB,IAAI,EAAE;oBACJ,KAAK,EAAE,kCAAkC;iBAC1C;aACF;YACD,qBAAqB,EAAE;gBACrB,IAAI,EAAE;oBACJ,eAAe,EAAE,yBAAyB;iBAC3C;aACF;YACD,aAAa,EAAE;gBACb,IAAI,EAAE;oBACJ,eAAe,EAAE,yBAAyB;oBAC1C,WAAW,EAAE,yBAAyB;oBACtC,WAAW,EAAE,OAAO;oBACpB,WAAW,EACT,6GAA6G;iBAChH;aACF;YACD,aAAa,EAAE;gBACb,IAAI,EAAE;oBACJ,eAAe,EAAE,wBAAwB;oBACzC,WAAW,EAAE,yBAAyB;oBACtC,WAAW,EAAE,OAAO;oBACpB,WAAW,EACT,6GAA6G;iBAChH;aACF;YACD,WAAW,EAAE;gBACX,IAAI,EAAE;oBACJ,eAAe,EAAE,yBAAyB;oBAC1C,YAAY,EAAE,oCAAoC;iBACnD;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE;oBACJ,eAAe,EAAE,yBAAyB;oBAC1C,WAAW,EAAE,OAAO;oBACpB,WAAW,EAAE,yBAAyB;oBACtC,WAAW,EAAE,gCAAgC;oBAC7C,YAAY,EAAE,iCAAiC;oBAC/C,KAAK,EAAE,oBAAoB;oBAC3B,YAAY,EAAE,UAAU;oBACxB,gBAAgB,EAAE,sBAAsB;iBACzC;aACF;YACD,eAAe,EAAE;gBACf,IAAI,EAAE;oBACJ,WAAW,EAAE,yBAAyB;oBACtC,WAAW,EAAE,OAAO;oBACpB,WAAW,EAAE,4BAA4B;oBACzC,YAAY,EAAE,oCAAoC;iBACnD;aACF;YACD,4BAA4B,EAAE;gBAC5B,IAAI,EAAE;oBACJ,eAAe,EAAE,wBAAwB;oBACzC,WAAW,EAAE,OAAO;oBACpB,WAAW,EAAE,wBAAwB;oBACrC,WAAW,EACT,6GAA6G;oBAC/G,KAAK,EAAE,sBAAsB;oBAC7B,SAAS,EAAE,sBAAsB;iBAClC;gBACD,KAAK,EAAE;oBACL,eAAe,EAAE,kCAAkC;oBACnD,WAAW,EAAE,kCAAkC;oBAC/C,KAAK,EAAE,kCAAkC;oBACzC,SAAS,EAAE,kCAAkC;iBAC9C;gBACD,MAAM,EAAE;oBACN,eAAe,EAAE,kCAAkC;oBACnD,WAAW,EAAE,kCAAkC;oBAC/C,KAAK,EAAE,kCAAkC;oBACzC,SAAS,EAAE,kCAAkC;iBAC9C;gBACD,QAAQ,EAAE;oBACR,WAAW,EAAE,kCAAkC;oBAC/C,KAAK,EAAE,kCAAkC;oBACzC,SAAS,EAAE,kCAAkC;iBAC9C;gBACD,QAAQ,EAAE;oBACR,KAAK,EAAE,4BAA4B;oBACnC,SAAS,EAAE,4BAA4B;iBACxC;aACF;YACD,kBAAkB,EAAE;gBAClB,IAAI,EAAE;oBACJ,eAAe,EAAE,qBAAqB;iBACvC;aACF;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE;oBACJ,eAAe,EAAE,mBAAmB;iBACrC;aACF;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE;oBACJ,eAAe,EAAE,kBAAkB;oBACnC,YAAY,EAAE,oCAAoC;oBAClD,KAAK,EAAE,oBAAoB;iBAC5B;gBACD,OAAO,EAAE;oBACP,KAAK,EAAE,oBAAoB;iBAC5B;aACF;SACF;KACF;CACF,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/my-account",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.90.1",
|
|
4
4
|
"description": "Newskit Render",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"prettier": "^2.2.1",
|
|
72
72
|
"start-server-and-test": "^1.11.5",
|
|
73
73
|
"ts-jest": "^26.4.4",
|
|
74
|
-
"typescript": "4.
|
|
74
|
+
"typescript": "4.4.3"
|
|
75
75
|
},
|
|
76
76
|
"files": [
|
|
77
77
|
"dist"
|