@apolitical/sdk 0.8.1 → 0.8.2-rc.0

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.
Files changed (2) hide show
  1. package/build/index.js +1 -1
  2. package/package.json +2 -1
package/build/index.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@apolitical/content"),require("@apolitical/error-reporting"),require("@apolitical/auth"),require("axios"),require("http-status-codes"),require("buffer")):"function"==typeof define&&define.amd?define(["@apolitical/content","@apolitical/error-reporting","@apolitical/auth","axios","http-status-codes","buffer"],e):"object"==typeof exports?exports.ApoliticalSDK=e(require("@apolitical/content"),require("@apolitical/error-reporting"),require("@apolitical/auth"),require("axios"),require("http-status-codes"),require("buffer")):t.ApoliticalSDK=e(t["@apolitical/content"],t["@apolitical/error-reporting"],t["@apolitical/auth"],t.axios,t["http-status-codes"],t.buffer)}(this,(function(t,e,r,a,n,o){return function(){"use strict";var i={654:function(t){t.exports=r},809:function(e){e.exports=t},30:function(t){t.exports=e},300:function(t){t.exports=a},408:function(t){t.exports=o},25:function(t){t.exports=n}},s={};function c(t){var e=s[t];if(void 0!==e)return e.exports;var r=s[t]={exports:{}};return i[t](r,r.exports,c),r.exports}c.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return c.d(e,{a:e}),e},c.d=function(t,e){for(var r in e)c.o(e,r)&&!c.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},c.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},c.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var u={};return function(){c.r(u),c.d(u,{assets:function(){return E},decodeBase64:function(){return G},default:function(){return j},getEntries:function(){return t.getEntries},getEntry:function(){return t.getEntry},management:function(){return d},passwordlessLogin:function(){return r.passwordlessLogin},people:function(){return C},peopleEngagement:function(){return B},reportError:function(){return e.reportError},sendVerificationEmail:function(){return r.sendVerificationEmail}});var t=c(809),e=c(30),r=c(654),a=c(300),n=c.n(a),o={APIS:{ASSETS_API:{BASE_URL:"/api/assets-api",ENDPOINTS:{USERS:"/users",CERTIFICATES:"/certificates"}},MANAGEMENT_API:{BASE_URL:"/api/management-api",ENDPOINTS:{ACCOUNTS:"/accounts"}},PEOPLE_API:{BASE_URL:"/api/people-api",ENDPOINTS:{USERS:"/users",USER_COURSES:"/courses",REGISTRATIONS:"/registrations"}},PEOPLE_ENGAGEMENT_API:{BASE_URL:"/api/people-engagement-api",ENDPOINTS:{USERS:"/users",USER_PROPERTIES:"/properties"}}},USERS:{MYSELF_SLUG:"me"}};const i=async t=>{try{const{message:r,response:a,request:n}=t;let o=r;a?o+=` - The request was made and the server responded with ${JSON.stringify({status:a.status,data:a.data})}`:n&&(o+=" - The request was made but no response was received"),console.warn(o),await(0,e.reportError)(new Error(o))}catch(t){console.warn(`Cannot handle error: ${t.message}`)}},{APIS:{ASSETS_API:{BASE_URL:s,ENDPOINTS:{USERS:S,CERTIFICATES:p}}}}=o;var E={certificates:{create:async(t,e)=>{let r=[];try{const{data:a}=await n().post(`${s}${S}/${t}${p}`,e);a&&a.length&&(r=a)}catch(t){await i(t)}return r}}};const{APIS:{MANAGEMENT_API:{BASE_URL:l,ENDPOINTS:{ACCOUNTS:f}}}}=o;var d={accounts:{create:async t=>{try{await n().post(`${l}${f}`,t)}catch(t){throw await i(t),t}},read:async t=>{let e=null;try{({data:e}=await n().get(`${l}${f}/${encodeURIComponent(t)}`))}catch(t){await i(t)}return e},update:async(t,e)=>{try{await n().put(`${l}${f}/${encodeURIComponent(t)}`,e)}catch(t){throw await i(t),t}}}};const{APIS:{PEOPLE_API:{BASE_URL:P,ENDPOINTS:{REGISTRATIONS:A}}}}=o;var I={list:async t=>{let e=[];try{const{data:r}=await n().get(`${P}${A}`,{params:t});r&&r.length&&(e=r)}catch(t){await i(t)}return e}},g=c(25);const{OK:R,MULTIPLE_CHOICES:y,NOT_FOUND:O,FORBIDDEN:N}=g.StatusCodes,U=t=>t>=R&&t<y||t===N||t===O,{APIS:{PEOPLE_API:{BASE_URL:_,ENDPOINTS:{USERS:T}}}}=o;var w={read:async t=>{let e=null;try{const{data:r}=await n().get(`${_}${T}/${encodeURIComponent(t)}`,{validateStatus:U});r&&r.slug&&(e=r)}catch(t){await i(t)}return e}};const{APIS:{PEOPLE_API:{BASE_URL:h,ENDPOINTS:{USERS:$,USER_COURSES:m}}},USERS:{MYSELF_SLUG:L}}=o,x=`${h}${$}/${L}${m}`;var C={registrations:I,users:w,userCourses:{create:async t=>{try{await n().post(x,t)}catch(t){await i(t)}},list:async t=>{let e=[];try{const{data:r}=await n().get(x,{params:t});r&&r.length&&(e=r)}catch(t){await i(t)}return e},update:async(t,e)=>{try{await n().put(`${x}/${t}`,e)}catch(t){await i(t)}}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:b,ENDPOINTS:{USERS:v,USER_PROPERTIES:q}}},USERS:{MYSELF_SLUG:D}}=o;var B={userProperties:{update:async(t,e)=>{try{await n().put(`${b}${v}/${D}${q}/${t}`,e)}catch(t){await i(t)}}}},M=c(408);const G=t=>t&&M.Buffer.from(t,"base64").toString("ascii");function j({authContext:a=null,contentContext:n=null,errorsContext:o=null,origin:i}){a&&(0,r.setContext)(Object.assign({},a,{origin:i})),n&&(0,t.setContext)(Object.assign({},n,{origin:i})),o&&(0,e.setContext)(Object.assign({},o,{origin:i}))}}(),u}()}));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@apolitical/content"),require("@apolitical/error-reporting"),require("@apolitical/auth"),require("axios"),require("http-status-codes"),require("buffer")):"function"==typeof define&&define.amd?define(["@apolitical/content","@apolitical/error-reporting","@apolitical/auth","axios","http-status-codes","buffer"],e):"object"==typeof exports?exports.ApoliticalSDK=e(require("@apolitical/content"),require("@apolitical/error-reporting"),require("@apolitical/auth"),require("axios"),require("http-status-codes"),require("buffer")):t.ApoliticalSDK=e(t["@apolitical/content"],t["@apolitical/error-reporting"],t["@apolitical/auth"],t.axios,t["http-status-codes"],t.buffer)}(this,(function(t,e,r,n,a,o){return function(){var i={772:function(t,e,r){var n,a;t.exports=(n=r(785),a=r(947),function(){"use strict";var t={705:function(t){t.exports=a},273:function(t){t.exports=n}},e={};function r(n){var a=e[n];if(void 0!==a)return a.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return function(){r.r(o),r.d(o,{setContext:function(){return c},setupGTM:function(){return u}});var t=r(273),e=r.n(t),n=r(705);const{APOLITICAL:{WEBSITES:a,ENVIRONMENTS:i}}={APOLITICAL:{WEBSITES:{BETA:"https://beta.apolitical.co",BETA_2:"https://beta-2.apolitical.co",LIVE:"https://apolitical.co",RC:"https://rc.apolitical.co"},ENVIRONMENTS:{BETA:"beta",BETA_2:"beta",RC:"rc",LIVE:"master"}}};let s={environment:null};const c=({environment:t,origin:e=null})=>{s.environment=t||(t=>{let e,r=null;switch(r="undefined"!=typeof window?window.origin||window.location.origin:t,r){case a.BETA:e=i.BETA;break;case a.BETA_2:e=i.BETA_2;break;case a.LIVE:e=i.LIVE;break;case a.RC:e=i.RC;break;default:e=i.BETA}return e})(e)},u=()=>{const t=s;e().initialize({gtmId:(0,n.decodeBase64)(t.id)})}}(),o}())},947:function(t,e,r){var n,a,o,i,s,c;t.exports=(n=r(809),a=r(30),o=r(654),i=r(300),s=r(25),c=r(408),function(){"use strict";var t={654:function(t){t.exports=o},809:function(t){t.exports=n},30:function(t){t.exports=a},300:function(t){t.exports=i},408:function(t){t.exports=c},25:function(t){t.exports=s}},e={};function r(n){var a=e[n];if(void 0!==a)return a.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var u={};return function(){r.r(u),r.d(u,{assets:function(){return E},decodeBase64:function(){return G},default:function(){return q},getEntries:function(){return t.getEntries},getEntry:function(){return t.getEntry},management:function(){return f},passwordlessLogin:function(){return n.passwordlessLogin},people:function(){return C},peopleEngagement:function(){return j},reportError:function(){return e.reportError},sendVerificationEmail:function(){return n.sendVerificationEmail}});var t=r(809),e=r(30),n=r(654),a=r(300),o=r.n(a),i={APIS:{ASSETS_API:{BASE_URL:"/api/assets-api",ENDPOINTS:{USERS:"/users",CERTIFICATES:"/certificates"}},MANAGEMENT_API:{BASE_URL:"/api/management-api",ENDPOINTS:{ACCOUNTS:"/accounts"}},PEOPLE_API:{BASE_URL:"/api/people-api",ENDPOINTS:{USERS:"/users",USER_COURSES:"/courses",REGISTRATIONS:"/registrations"}},PEOPLE_ENGAGEMENT_API:{BASE_URL:"/api/people-engagement-api",ENDPOINTS:{USERS:"/users",USER_PROPERTIES:"/properties"}}},USERS:{MYSELF_SLUG:"me"}};const s=async t=>{try{const{message:r,response:n,request:a}=t;let o=r;n?o+=` - The request was made and the server responded with ${JSON.stringify({status:n.status,data:n.data})}`:a&&(o+=" - The request was made but no response was received"),console.warn(o),await(0,e.reportError)(new Error(o))}catch(t){console.warn(`Cannot handle error: ${t.message}`)}},{APIS:{ASSETS_API:{BASE_URL:c,ENDPOINTS:{USERS:d,CERTIFICATES:p}}}}=i;var E={certificates:{create:async(t,e)=>{let r=[];try{const{data:n}=await o().post(`${c}${d}/${t}${p}`,e);n&&n.length&&(r=n)}catch(t){await s(t)}return r}}};const{APIS:{MANAGEMENT_API:{BASE_URL:l,ENDPOINTS:{ACCOUNTS:S}}}}=i;var f={accounts:{create:async t=>{try{await o().post(`${l}${S}`,t)}catch(t){throw await s(t),t}},read:async t=>{let e=null;try{({data:e}=await o().get(`${l}${S}/${encodeURIComponent(t)}`))}catch(t){await s(t)}return e},update:async(t,e)=>{try{await o().put(`${l}${S}/${encodeURIComponent(t)}`,e)}catch(t){throw await s(t),t}}}};const{APIS:{PEOPLE_API:{BASE_URL:g,ENDPOINTS:{REGISTRATIONS:y}}}}=i;var w={list:async t=>{let e=[];try{const{data:r}=await o().get(`${g}${y}`,{params:t});r&&r.length&&(e=r)}catch(t){await s(t)}return e}},P=r(25);const{OK:m,MULTIPLE_CHOICES:I,NOT_FOUND:A,FORBIDDEN:T}=P.StatusCodes,_=t=>t>=m&&t<I||t===T||t===A,{APIS:{PEOPLE_API:{BASE_URL:N,ENDPOINTS:{USERS:O}}}}=i;var h={read:async t=>{let e=null;try{const{data:r}=await o().get(`${N}${O}/${encodeURIComponent(t)}`,{validateStatus:_});r&&r.slug&&(e=r)}catch(t){await s(t)}return e}};const{APIS:{PEOPLE_API:{BASE_URL:R,ENDPOINTS:{USERS:v,USER_COURSES:L}}},USERS:{MYSELF_SLUG:U}}=i,$=`${R}${v}/${U}${L}`;var C={registrations:w,users:h,userCourses:{create:async t=>{try{await o().post($,t)}catch(t){await s(t)}},list:async t=>{let e=[];try{const{data:r}=await o().get($,{params:t});r&&r.length&&(e=r)}catch(t){await s(t)}return e},update:async(t,e)=>{try{await o().put(`${$}/${t}`,e)}catch(t){await s(t)}}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:x,ENDPOINTS:{USERS:b,USER_PROPERTIES:B}}},USERS:{MYSELF_SLUG:M}}=i;var j={userProperties:{update:async(t,e)=>{try{await o().put(`${x}${b}/${M}${B}/${t}`,e)}catch(t){await s(t)}}}},D=r(408);const G=t=>t&&D.Buffer.from(t,"base64").toString("ascii");function q({authContext:r=null,contentContext:a=null,errorsContext:o=null,origin:i}){r&&(0,n.setContext)(Object.assign({},r,{origin:i})),a&&(0,t.setContext)(Object.assign({},a,{origin:i})),o&&(0,e.setContext)(Object.assign({},o,{origin:i}))}}(),u}())},421:function(t,e,r){"use strict";var n,a=(n=r(425))&&n.__esModule?n:{default:n},o={tags:function(t){var e=t.id,r=t.events,n=t.dataLayer,o=t.dataLayerName,i=t.preview,s="&gtm_auth="+t.auth,c="&gtm_preview="+i;return e||(0,a.default)("GTM Id is required"),{iframe:'\n <iframe src="https://www.googletagmanager.com/ns.html?id='+e+s+c+'&gtm_cookies_win=x"\n height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:"\n (function(w,d,s,l,i){w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(r).slice(1,-1)+"});\n var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+s+c+"&gtm_cookies_win=x';\n f.parentNode.insertBefore(j,f);\n })(window,document,'script','"+o+"','"+e+"');",dataLayerVar:this.dataLayer(n,o)}},dataLayer:function(t,e){return"\n window."+e+" = window."+e+" || [];\n window."+e+".push("+JSON.stringify(t)+")"}};t.exports=o},676:function(t,e,r){"use strict";var n,a=(n=r(421))&&n.__esModule?n:{default:n},o={dataScript:function(t){var e=document.createElement("script");return e.innerHTML=t,e},gtm:function(t){var e=a.default.tags(t);return{noScript:function(){var t=document.createElement("noscript");return t.innerHTML=e.iframe,t},script:function(){var t=document.createElement("script");return t.innerHTML=e.script,t},dataScript:this.dataScript(e.dataLayerVar)}},initialize:function(t){var e=t.gtmId,r=t.events,n=void 0===r?{}:r,a=t.dataLayer,o=t.dataLayerName,i=void 0===o?"dataLayer":o,s=t.auth,c=void 0===s?"":s,u=t.preview,d=void 0===u?"":u,p=this.gtm({id:e,events:n,dataLayer:a||void 0,dataLayerName:i,auth:c,preview:d});a&&document.head.appendChild(p.dataScript),document.head.insertBefore(p.script(),document.head.childNodes[0]),document.body.insertBefore(p.noScript(),document.body.childNodes[0])},dataLayer:function(t){var e=t.dataLayer,r=t.dataLayerName,n=void 0===r?"dataLayer":r;if(window[n])return window[n].push(e);var o=a.default.dataLayer(e,n),i=this.dataScript(o);document.head.insertBefore(i,document.head.childNodes[0])}};t.exports=o},785:function(t,e,r){"use strict";var n,a=(n=r(676))&&n.__esModule?n:{default:n};t.exports=a.default},425:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){console.warn("[react-gtm]",t)}},654:function(t){"use strict";t.exports=r},809:function(e){"use strict";e.exports=t},30:function(t){"use strict";t.exports=e},300:function(t){"use strict";t.exports=n},408:function(t){"use strict";t.exports=o},25:function(t){"use strict";t.exports=a}},s={};function c(t){var e=s[t];if(void 0!==e)return e.exports;var r=s[t]={exports:{}};return i[t].call(r.exports,r,r.exports,c),r.exports}c.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return c.d(e,{a:e}),e},c.d=function(t,e){for(var r in e)c.o(e,r)&&!c.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},c.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},c.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var u={};return function(){"use strict";c.r(u),c.d(u,{assets:function(){return l},decodeBase64:function(){return q},default:function(){return F},getEntries:function(){return t.getEntries},getEntry:function(){return t.getEntry},management:function(){return g},passwordlessLogin:function(){return r.passwordlessLogin},people:function(){return x},peopleEngagement:function(){return D},reportError:function(){return e.reportError},sendVerificationEmail:function(){return r.sendVerificationEmail},setupGTM:function(){return n.setupGTM}});var t=c(809),e=c(30),r=c(654),n=c(772),a=c(300),o=c.n(a),i={APIS:{ASSETS_API:{BASE_URL:"/api/assets-api",ENDPOINTS:{USERS:"/users",CERTIFICATES:"/certificates"}},MANAGEMENT_API:{BASE_URL:"/api/management-api",ENDPOINTS:{ACCOUNTS:"/accounts"}},PEOPLE_API:{BASE_URL:"/api/people-api",ENDPOINTS:{USERS:"/users",USER_COURSES:"/courses",REGISTRATIONS:"/registrations"}},PEOPLE_ENGAGEMENT_API:{BASE_URL:"/api/people-engagement-api",ENDPOINTS:{USERS:"/users",USER_PROPERTIES:"/properties"}}},USERS:{MYSELF_SLUG:"me"}};const s=async t=>{try{const{message:r,response:n,request:a}=t;let o=r;n?o+=` - The request was made and the server responded with ${JSON.stringify({status:n.status,data:n.data})}`:a&&(o+=" - The request was made but no response was received"),console.warn(o),await(0,e.reportError)(new Error(o))}catch(t){console.warn(`Cannot handle error: ${t.message}`)}},{APIS:{ASSETS_API:{BASE_URL:d,ENDPOINTS:{USERS:p,CERTIFICATES:E}}}}=i;var l={certificates:{create:async(t,e)=>{let r=[];try{const{data:n}=await o().post(`${d}${p}/${t}${E}`,e);n&&n.length&&(r=n)}catch(t){await s(t)}return r}}};const{APIS:{MANAGEMENT_API:{BASE_URL:S,ENDPOINTS:{ACCOUNTS:f}}}}=i;var g={accounts:{create:async t=>{try{await o().post(`${S}${f}`,t)}catch(t){throw await s(t),t}},read:async t=>{let e=null;try{({data:e}=await o().get(`${S}${f}/${encodeURIComponent(t)}`))}catch(t){await s(t)}return e},update:async(t,e)=>{try{await o().put(`${S}${f}/${encodeURIComponent(t)}`,e)}catch(t){throw await s(t),t}}}};const{APIS:{PEOPLE_API:{BASE_URL:y,ENDPOINTS:{REGISTRATIONS:w}}}}=i;var P={list:async t=>{let e=[];try{const{data:r}=await o().get(`${y}${w}`,{params:t});r&&r.length&&(e=r)}catch(t){await s(t)}return e}},m=c(25);const{OK:I,MULTIPLE_CHOICES:A,NOT_FOUND:T,FORBIDDEN:_}=m.StatusCodes,N=t=>t>=I&&t<A||t===_||t===T,{APIS:{PEOPLE_API:{BASE_URL:O,ENDPOINTS:{USERS:h}}}}=i;var R={read:async t=>{let e=null;try{const{data:r}=await o().get(`${O}${h}/${encodeURIComponent(t)}`,{validateStatus:N});r&&r.slug&&(e=r)}catch(t){await s(t)}return e}};const{APIS:{PEOPLE_API:{BASE_URL:v,ENDPOINTS:{USERS:L,USER_COURSES:U}}},USERS:{MYSELF_SLUG:$}}=i,C=`${v}${L}/${$}${U}`;var x={registrations:P,users:R,userCourses:{create:async t=>{try{await o().post(C,t)}catch(t){await s(t)}},list:async t=>{let e=[];try{const{data:r}=await o().get(C,{params:t});r&&r.length&&(e=r)}catch(t){await s(t)}return e},update:async(t,e)=>{try{await o().put(`${C}/${t}`,e)}catch(t){await s(t)}}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:b,ENDPOINTS:{USERS:B,USER_PROPERTIES:M}}},USERS:{MYSELF_SLUG:j}}=i;var D={userProperties:{update:async(t,e)=>{try{await o().put(`${b}${B}/${j}${M}/${t}`,e)}catch(t){await s(t)}}}},G=c(408);const q=t=>t&&G.Buffer.from(t,"base64").toString("ascii");function F({authContext:a=null,contentContext:o=null,errorsContext:i=null,gtmContext:s=null,origin:c}){a&&(0,r.setContext)(Object.assign({},a,{origin:c})),o&&(0,t.setContext)(Object.assign({},o,{origin:c})),i&&(0,e.setContext)(Object.assign({},i,{origin:c})),s&&(0,n.setContext)(Object.assign({},i,{origin:c}))}}(),u}()}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/sdk",
3
- "version": "0.8.1",
3
+ "version": "0.8.2-rc.0",
4
4
  "description": "Browser library to interact with Apolitical's APIs",
5
5
  "author": "Apolitical Group Limited <engineering@apolitical.co>",
6
6
  "license": "MIT",
@@ -28,6 +28,7 @@
28
28
  "@apolitical/auth": "0.0.2",
29
29
  "@apolitical/content": "0.3.0",
30
30
  "@apolitical/error-reporting": "0.1.0",
31
+ "@apolitical/gtm": "1.0.0-rc.1",
31
32
  "axios": "0.26.0",
32
33
  "buffer": "6.0.3",
33
34
  "http-status-codes": "2.2.0"