@content-island/api-client 0.16.0 → 0.18.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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- declare type AllowedModelFields<M extends Model, ValueType> = Partial<Omit<{
2
- [K in keyof M as IsPrimitive<NonNullable<M[K]>> extends true ? `fields.${string & K}` : never]?: ValueType;
1
+ declare type AllowedFields<M extends Model, Type extends 'sort' | 'filter'> = Partial<Omit<{
2
+ [K in keyof M as IsPrimitive<NonNullable<M[K]>> extends true ? `fields.${string & K}` : never]?: Type extends 'sort' ? SortOrder : ClientFilter<NonNullable<M[K]>>;
3
3
  }, 'fields.id' | 'fields.language'>>;
4
4
 
5
5
  export declare interface ApiClient {
@@ -18,9 +18,10 @@ declare interface BaseModel {
18
18
  type: ModelType;
19
19
  }
20
20
 
21
- export declare type ClientFilter<Type = string | boolean> = Type | {
21
+ export declare type ClientFilter<Type = string | boolean | number> = Type | {
22
22
  in?: Type[];
23
23
  ne?: Type;
24
+ nin?: Type[];
24
25
  };
25
26
 
26
27
  export declare interface Content {
@@ -97,12 +98,12 @@ export declare type FieldType =
97
98
  | RelatedModelType;
98
99
 
99
100
  declare type FilterableFields<M extends Model = Model> = {
100
- id?: ClientFilter;
101
- lastUpdate?: ClientFilter;
101
+ id?: ClientFilter<string>;
102
+ lastUpdate?: ClientFilter<string>;
102
103
  language?: M['language'];
103
- contentType?: ClientFilter;
104
+ contentType?: ClientFilter<string>;
104
105
  includeRelatedContent?: boolean;
105
- } & AllowedModelFields<M, ClientFilter>;
106
+ } & AllowedFields<M, 'filter'>;
106
107
 
107
108
  declare type IsPrimitive<T> = [T] extends [string | number | boolean] ? true : false;
108
109
 
@@ -342,7 +343,7 @@ declare type RelatedModelType = `${string}|${string}`;
342
343
  declare type SortableFields<M extends Model> = {
343
344
  contentType?: SortOrder;
344
345
  lastUpdate?: SortOrder;
345
- } & AllowedModelFields<M, SortOrder>;
346
+ } & AllowedFields<M, 'sort'>;
346
347
 
347
348
  declare type SortOrder = 'asc' | 'desc';
348
349
 
package/dist/index.js CHANGED
@@ -1,26 +1,29 @@
1
- const N = (t, e) => {
2
- if (typeof e == "string" || typeof e == "boolean")
3
- return `${t}=${e}`;
4
- if (e.in)
5
- return `${t}[in]=${e.in.join(",")}`;
6
- if (e.ne)
7
- return `${t}[ne]=${e.ne}`;
8
- }, A = (t) => Object.entries(t).map(([e, n]) => `${e}:${n}`).join(","), O = (t, e) => {
9
- let n = "";
10
- return t.take !== void 0 && (n += `take=${t.take}`), t.skip !== void 0 && (n += n ? `${e}skip=${t.skip}` : `skip=${t.skip}`), n;
11
- }, _ = (t, e) => Object.entries(t).reduce((n, [o, s], a) => {
12
- if (o === "sort" && typeof s == "object" && s !== null && !Array.isArray(s)) {
13
- const r = A(s);
14
- return a === 0 ? `sort=${r}` : `${n}${e}sort=${r}`;
15
- } else if (o === "pagination" && typeof s == "object" && s !== null) {
16
- const r = O(s, e);
17
- return a === 0 ? r : `${n}${e}${r}`;
18
- } else if (s !== void 0 && o !== "sort" && o !== "pagination") {
19
- const r = s;
20
- return a === 0 ? N(o, r) : `${n}${e}${N(o, r)}`;
1
+ const $ = (t, n) => `&${t}.type=${typeof n}`, A = (t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean", O = (t, n, e) => `${t}=${n}${e ? $(t, n) : ""}`, l = (t, n) => {
2
+ const e = t.startsWith("fields.");
3
+ if (A(n))
4
+ return O(t, n, e);
5
+ if (n.in)
6
+ return `${t}[in]=${n.in.join(",")}${e && n.in.length > 0 ? $(t, n.in[0]) : ""}`;
7
+ if (n.ne !== void 0)
8
+ return `${t}[ne]=${n.ne}${e ? $(t, n.ne) : ""}`;
9
+ if (n.nin)
10
+ return `${t}[nin]=${n.nin.join(",")}${e && n.nin.length > 0 ? $(t, n.nin[0]) : ""}`;
11
+ }, _ = (t) => Object.entries(t).map(([n, e]) => `${n}:${e}`).join(","), p = (t, n) => {
12
+ let e = "";
13
+ return t.take !== void 0 && (e += `take=${t.take}`), t.skip !== void 0 && (e += e ? `${n}skip=${t.skip}` : `skip=${t.skip}`), e;
14
+ }, C = (t, n) => Object.entries(t).reduce((e, [o, r], a) => {
15
+ if (o === "sort" && typeof r == "object" && r !== null && !Array.isArray(r)) {
16
+ const s = _(r);
17
+ return a === 0 ? `sort=${s}` : `${e}${n}sort=${s}`;
18
+ } else if (o === "pagination" && typeof r == "object" && r !== null) {
19
+ const s = p(r, n);
20
+ return a === 0 ? s : `${e}${n}${s}`;
21
+ } else if (r !== void 0 && o !== "sort" && o !== "pagination") {
22
+ const s = r;
23
+ return a === 0 ? l(o, s) : `${e}${n}${l(o, s)}`;
21
24
  }
22
- return n;
23
- }, ""), S = (t) => t && Object.keys(t).length > 0 ? `?${_(t, "&")}` : "", $ = {
25
+ return e;
26
+ }, ""), S = (t) => t && Object.keys(t).length > 0 ? `?${C(t, "&")}` : "", N = {
24
27
  IS_PRODUCTION: !0,
25
28
  DEFAULT_API_CLIENT_DOMAIN: "api.contentisland.net",
26
29
  DEFAULT_API_CLIENT_VERSION: "1.0"
@@ -28,31 +31,31 @@ const N = (t, e) => {
28
31
  SESSION_KEY: "authorization",
29
32
  SESSION_TYPE: "Bearer",
30
33
  METADATA_KEY: "x-metadata"
31
- }, l = (t) => {
32
- const n = (t.secureProtocol === void 0 ? $.IS_PRODUCTION : t.secureProtocol) ? "https" : "http", o = t.domain ? t.domain : $.DEFAULT_API_CLIENT_DOMAIN, s = t.apiVersion ? t.apiVersion : $.DEFAULT_API_CLIENT_VERSION;
33
- return `${n}://${o}/api/${s}`;
34
- }, d = async (t, e) => fetch(`${l(e)}${t}`, {
34
+ }, d = (t) => {
35
+ const e = (t.secureProtocol === void 0 ? N.IS_PRODUCTION : t.secureProtocol) ? "https" : "http", o = t.domain ? t.domain : N.DEFAULT_API_CLIENT_DOMAIN, r = t.apiVersion ? t.apiVersion : N.DEFAULT_API_CLIENT_VERSION;
36
+ return `${e}://${o}/api/${r}`;
37
+ }, I = async (t, n) => fetch(`${d(n)}${t}`, {
35
38
  headers: {
36
- [i.SESSION_KEY]: `${i.SESSION_TYPE} ${e.accessToken}`,
37
- ...e.metadata ? { [i.METADATA_KEY]: e.metadata } : {}
39
+ [i.SESSION_KEY]: `${i.SESSION_TYPE} ${n.accessToken}`,
40
+ ...n.metadata ? { [i.METADATA_KEY]: n.metadata } : {}
38
41
  }
39
- }).then((n) => {
40
- if (n.ok)
41
- return n.json();
42
+ }).then((e) => {
43
+ if (e.ok)
44
+ return e.json();
42
45
  throw Error(
43
46
  JSON.stringify({
44
- status: n.status,
45
- statusText: n.statusText
47
+ status: e.status,
48
+ statusText: e.statusText
46
49
  })
47
50
  );
48
- }), C = async (t, e, n) => fetch(`${l(n)}${t}`, {
51
+ }), L = async (t, n, e) => fetch(`${d(e)}${t}`, {
49
52
  method: "PUT",
50
53
  headers: {
51
54
  "Content-Type": "application/json",
52
- [i.SESSION_KEY]: `${i.SESSION_TYPE} ${n.accessToken}`,
53
- ...n.metadata ? { [i.METADATA_KEY]: n.metadata } : {}
55
+ [i.SESSION_KEY]: `${i.SESSION_TYPE} ${e.accessToken}`,
56
+ ...e.metadata ? { [i.METADATA_KEY]: e.metadata } : {}
54
57
  },
55
- body: JSON.stringify(e)
58
+ body: JSON.stringify(n)
56
59
  }).then((o) => {
57
60
  if (o.ok)
58
61
  return !0;
@@ -63,51 +66,51 @@ const N = (t, e) => {
63
66
  })
64
67
  );
65
68
  }), T = {
66
- get: d,
67
- put: C
68
- }, I = (t) => t == null ? void 0 : t.includes("|"), p = (t, e) => Array.isArray(t) ? t.map(e) : [], L = (t, e) => t.isArray ? p(t.value, (n) => E(n, e)) : E(t.value, e), f = (t) => I(t.type) && (t.isArray ? t.value.every((e) => typeof e == "object" && "contentType" in e) : typeof t.value == "object" && "contentType" in t.value), h = (t, e) => t.reduce(
69
- (n, o) => ({
70
- ...n,
71
- [o.name]: f(o) ? L(o, e) : o.value
69
+ get: I,
70
+ put: L
71
+ }, h = (t) => t == null ? void 0 : t.includes("|"), j = (t, n) => Array.isArray(t) ? t.map(n) : [], F = (t, n) => t.isArray ? j(t.value, (e) => E(e, n)) : E(t.value, n), y = (t) => h(t.type) && (t.isArray ? t.value.every((n) => typeof n == "object" && "contentType" in n) : typeof t.value == "object" && "contentType" in t.value), R = (t, n) => t.reduce(
72
+ (e, o) => ({
73
+ ...e,
74
+ [o.name]: y(o) ? F(o, n) : o.value
72
75
  }),
73
76
  {}
74
- ), y = (t, e, n, o) => {
77
+ ), f = (t, n, e, o) => {
75
78
  var c;
76
- const s = n ?? ((c = t[0]) == null ? void 0 : c.language), a = t.filter((g) => g.language === s), r = h(a, s);
77
- return Object.keys(r).length === 0 && console.warn(`No fields found for language "${s}" and content id "${e}"`), {
78
- id: e,
79
- language: s,
79
+ const r = e ?? ((c = t[0]) == null ? void 0 : c.language), a = t.filter((g) => g.language === r), s = R(a, r);
80
+ return Object.keys(s).length === 0 && console.warn(`No fields found for language "${r}" and content id "${n}"`), {
81
+ id: n,
82
+ language: r,
80
83
  lastUpdate: o,
81
- ...r
84
+ ...s
82
85
  };
83
- }, E = (t, e) => Array.isArray(t == null ? void 0 : t.fields) ? y(t.fields, t.id, e, t.lastUpdate) : {}, u = {
86
+ }, E = (t, n) => Array.isArray(t == null ? void 0 : t.fields) ? f(t.fields, t.id, n, t.lastUpdate) : {}, u = {
84
87
  PROJECT: "/project",
85
88
  CONTENT_LIST: (t) => `/contents${S(t)}`,
86
89
  CONTENT: (t) => `/content${S(t)}`,
87
90
  CONTENT_LIST_SIZE: (t) => t ? `/contents/size${S(t)}` : "/contents/size"
88
- }, j = (t) => {
89
- const e = (a) => T.get(u.CONTENT_LIST(a), t), n = (a) => T.get(u.CONTENT(a), t), o = () => T.get(u.PROJECT, t), s = async () => {
90
- var r;
91
+ }, D = (t) => {
92
+ const n = (a) => T.get(u.CONTENT_LIST(a), t), e = (a) => T.get(u.CONTENT(a), t), o = () => T.get(u.PROJECT, t), r = async () => {
93
+ var s;
91
94
  const a = await o();
92
- return (r = a == null ? void 0 : a.languages) == null ? void 0 : r[0];
95
+ return (s = a == null ? void 0 : a.languages) == null ? void 0 : s[0];
93
96
  };
94
97
  return {
95
98
  getProject: o,
96
99
  getContentList: async (a) => {
97
- const r = await e(a), c = (a == null ? void 0 : a.language) ?? await s();
98
- return Array.isArray(r) ? r.map((g) => E(g, c)) : [];
100
+ const s = await n(a), c = (a == null ? void 0 : a.language) ?? await r();
101
+ return Array.isArray(s) ? s.map((g) => E(g, c)) : [];
99
102
  },
100
103
  getContent: async (a) => {
101
- const r = await n(a), c = (a == null ? void 0 : a.language) ?? await s();
102
- return E(r, c);
104
+ const s = await e(a), c = (a == null ? void 0 : a.language) ?? await r();
105
+ return E(s, c);
103
106
  },
104
- getRawContentList: e,
105
- getRawContent: n,
107
+ getRawContentList: n,
108
+ getRawContent: e,
106
109
  getContentListSize: (a) => T.get(u.CONTENT_LIST_SIZE(a), t),
107
- updateContentFieldValue: (a, r, c) => T.put(
110
+ updateContentFieldValue: (a, s, c) => T.put(
108
111
  `${u.CONTENT(null)}/${a}`,
109
112
  {
110
- id: r,
113
+ id: s,
111
114
  value: c
112
115
  },
113
116
  t
@@ -115,6 +118,6 @@ const N = (t, e) => {
115
118
  };
116
119
  };
117
120
  export {
118
- j as createClient,
121
+ D as createClient,
119
122
  E as mapContentToModel
120
123
  };
@@ -1 +1 @@
1
- (function(i,T){typeof exports=="object"&&typeof module<"u"?T(exports):typeof define=="function"&&define.amd?define(["exports"],T):(i=typeof globalThis<"u"?globalThis:i||self,T(i.ApiClient={}))})(this,function(i){"use strict";const T=(t,e)=>{if(typeof e=="string"||typeof e=="boolean")return`${t}=${e}`;if(e.in)return`${t}[in]=${e.in.join(",")}`;if(e.ne)return`${t}[ne]=${e.ne}`},A=t=>Object.entries(t).map(([e,n])=>`${e}:${n}`).join(","),O=(t,e)=>{let n="";return t.take!==void 0&&(n+=`take=${t.take}`),t.skip!==void 0&&(n+=n?`${e}skip=${t.skip}`:`skip=${t.skip}`),n},C=(t,e)=>Object.entries(t).reduce((n,[a,r],o)=>{if(a==="sort"&&typeof r=="object"&&r!==null&&!Array.isArray(r)){const s=A(r);return o===0?`sort=${s}`:`${n}${e}sort=${s}`}else if(a==="pagination"&&typeof r=="object"&&r!==null){const s=O(r,e);return o===0?s:`${n}${e}${s}`}else if(r!==void 0&&a!=="sort"&&a!=="pagination"){const s=r;return o===0?T(a,s):`${n}${e}${T(a,s)}`}return n},""),S=t=>t&&Object.keys(t).length>0?`?${C(t,"&")}`:"",d={IS_PRODUCTION:!0,DEFAULT_API_CLIENT_DOMAIN:"api.contentisland.net",DEFAULT_API_CLIENT_VERSION:"1.0"},u={SESSION_KEY:"authorization",SESSION_TYPE:"Bearer",METADATA_KEY:"x-metadata"},N=t=>{const n=(t.secureProtocol===void 0?d.IS_PRODUCTION:t.secureProtocol)?"https":"http",a=t.domain?t.domain:d.DEFAULT_API_CLIENT_DOMAIN,r=t.apiVersion?t.apiVersion:d.DEFAULT_API_CLIENT_VERSION;return`${n}://${a}/api/${r}`},g={get:async(t,e)=>fetch(`${N(e)}${t}`,{headers:{[u.SESSION_KEY]:`${u.SESSION_TYPE} ${e.accessToken}`,...e.metadata?{[u.METADATA_KEY]:e.metadata}:{}}}).then(n=>{if(n.ok)return n.json();throw Error(JSON.stringify({status:n.status,statusText:n.statusText}))}),put:async(t,e,n)=>fetch(`${N(n)}${t}`,{method:"PUT",headers:{"Content-Type":"application/json",[u.SESSION_KEY]:`${u.SESSION_TYPE} ${n.accessToken}`,...n.metadata?{[u.METADATA_KEY]:n.metadata}:{}},body:JSON.stringify(e)}).then(a=>{if(a.ok)return!0;throw Error(JSON.stringify({status:a.status,statusText:a.statusText}))})},_=t=>t==null?void 0:t.includes("|"),p=(t,e)=>Array.isArray(t)?t.map(e):[],f=(t,e)=>t.isArray?p(t.value,n=>l(n,e)):l(t.value,e),I=t=>_(t.type)&&(t.isArray?t.value.every(e=>typeof e=="object"&&"contentType"in e):typeof t.value=="object"&&"contentType"in t.value),L=(t,e)=>t.reduce((n,a)=>({...n,[a.name]:I(a)?f(a,e):a.value}),{}),h=(t,e,n,a)=>{var c;const r=n??((c=t[0])==null?void 0:c.language),o=t.filter($=>$.language===r),s=L(o,r);return Object.keys(s).length===0&&console.warn(`No fields found for language "${r}" and content id "${e}"`),{id:e,language:r,lastUpdate:a,...s}},l=(t,e)=>Array.isArray(t==null?void 0:t.fields)?h(t.fields,t.id,e,t.lastUpdate):{},E={PROJECT:"/project",CONTENT_LIST:t=>`/contents${S(t)}`,CONTENT:t=>`/content${S(t)}`,CONTENT_LIST_SIZE:t=>t?`/contents/size${S(t)}`:"/contents/size"},y=t=>{const e=o=>g.get(E.CONTENT_LIST(o),t),n=o=>g.get(E.CONTENT(o),t),a=()=>g.get(E.PROJECT,t),r=async()=>{var s;const o=await a();return(s=o==null?void 0:o.languages)==null?void 0:s[0]};return{getProject:a,getContentList:async o=>{const s=await e(o),c=(o==null?void 0:o.language)??await r();return Array.isArray(s)?s.map($=>l($,c)):[]},getContent:async o=>{const s=await n(o),c=(o==null?void 0:o.language)??await r();return l(s,c)},getRawContentList:e,getRawContent:n,getContentListSize:o=>g.get(E.CONTENT_LIST_SIZE(o),t),updateContentFieldValue:(o,s,c)=>g.put(`${E.CONTENT(null)}/${o}`,{id:s,value:c},t)}};i.createClient=y,i.mapContentToModel=l,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})});
1
+ (function(u,c){typeof exports=="object"&&typeof module<"u"?c(exports):typeof define=="function"&&define.amd?define(["exports"],c):(u=typeof globalThis<"u"?globalThis:u||self,c(u.ApiClient={}))})(this,function(u){"use strict";const c=(t,e)=>`&${t}.type=${typeof e}`,A=t=>typeof t=="string"||typeof t=="number"||typeof t=="boolean",O=(t,e,n)=>`${t}=${e}${n?c(t,e):""}`,N=(t,e)=>{const n=t.startsWith("fields.");if(A(e))return O(t,e,n);if(e.in)return`${t}[in]=${e.in.join(",")}${n&&e.in.length>0?c(t,e.in[0]):""}`;if(e.ne!==void 0)return`${t}[ne]=${e.ne}${n?c(t,e.ne):""}`;if(e.nin)return`${t}[nin]=${e.nin.join(",")}${n&&e.nin.length>0?c(t,e.nin[0]):""}`},C=t=>Object.entries(t).map(([e,n])=>`${e}:${n}`).join(","),_=(t,e)=>{let n="";return t.take!==void 0&&(n+=`take=${t.take}`),t.skip!==void 0&&(n+=n?`${e}skip=${t.skip}`:`skip=${t.skip}`),n},I=(t,e)=>Object.entries(t).reduce((n,[s,r],o)=>{if(s==="sort"&&typeof r=="object"&&r!==null&&!Array.isArray(r)){const a=C(r);return o===0?`sort=${a}`:`${n}${e}sort=${a}`}else if(s==="pagination"&&typeof r=="object"&&r!==null){const a=_(r,e);return o===0?a:`${n}${e}${a}`}else if(r!==void 0&&s!=="sort"&&s!=="pagination"){const a=r;return o===0?N(s,a):`${n}${e}${N(s,a)}`}return n},""),d=t=>t&&Object.keys(t).length>0?`?${I(t,"&")}`:"",l={IS_PRODUCTION:!0,DEFAULT_API_CLIENT_DOMAIN:"api.contentisland.net",DEFAULT_API_CLIENT_VERSION:"1.0"},T={SESSION_KEY:"authorization",SESSION_TYPE:"Bearer",METADATA_KEY:"x-metadata"},p=t=>{const n=(t.secureProtocol===void 0?l.IS_PRODUCTION:t.secureProtocol)?"https":"http",s=t.domain?t.domain:l.DEFAULT_API_CLIENT_DOMAIN,r=t.apiVersion?t.apiVersion:l.DEFAULT_API_CLIENT_VERSION;return`${n}://${s}/api/${r}`},g={get:async(t,e)=>fetch(`${p(e)}${t}`,{headers:{[T.SESSION_KEY]:`${T.SESSION_TYPE} ${e.accessToken}`,...e.metadata?{[T.METADATA_KEY]:e.metadata}:{}}}).then(n=>{if(n.ok)return n.json();throw Error(JSON.stringify({status:n.status,statusText:n.statusText}))}),put:async(t,e,n)=>fetch(`${p(n)}${t}`,{method:"PUT",headers:{"Content-Type":"application/json",[T.SESSION_KEY]:`${T.SESSION_TYPE} ${n.accessToken}`,...n.metadata?{[T.METADATA_KEY]:n.metadata}:{}},body:JSON.stringify(e)}).then(s=>{if(s.ok)return!0;throw Error(JSON.stringify({status:s.status,statusText:s.statusText}))})},f=t=>t==null?void 0:t.includes("|"),h=(t,e)=>Array.isArray(t)?t.map(e):[],L=(t,e)=>t.isArray?h(t.value,n=>$(n,e)):$(t.value,e),y=t=>f(t.type)&&(t.isArray?t.value.every(e=>typeof e=="object"&&"contentType"in e):typeof t.value=="object"&&"contentType"in t.value),j=(t,e)=>t.reduce((n,s)=>({...n,[s.name]:y(s)?L(s,e):s.value}),{}),F=(t,e,n,s)=>{var i;const r=n??((i=t[0])==null?void 0:i.language),o=t.filter(S=>S.language===r),a=j(o,r);return Object.keys(a).length===0&&console.warn(`No fields found for language "${r}" and content id "${e}"`),{id:e,language:r,lastUpdate:s,...a}},$=(t,e)=>Array.isArray(t==null?void 0:t.fields)?F(t.fields,t.id,e,t.lastUpdate):{},E={PROJECT:"/project",CONTENT_LIST:t=>`/contents${d(t)}`,CONTENT:t=>`/content${d(t)}`,CONTENT_LIST_SIZE:t=>t?`/contents/size${d(t)}`:"/contents/size"},R=t=>{const e=o=>g.get(E.CONTENT_LIST(o),t),n=o=>g.get(E.CONTENT(o),t),s=()=>g.get(E.PROJECT,t),r=async()=>{var a;const o=await s();return(a=o==null?void 0:o.languages)==null?void 0:a[0]};return{getProject:s,getContentList:async o=>{const a=await e(o),i=(o==null?void 0:o.language)??await r();return Array.isArray(a)?a.map(S=>$(S,i)):[]},getContent:async o=>{const a=await n(o),i=(o==null?void 0:o.language)??await r();return $(a,i)},getRawContentList:e,getRawContent:n,getContentListSize:o=>g.get(E.CONTENT_LIST_SIZE(o),t),updateContentFieldValue:(o,a,i)=>g.put(`${E.CONTENT(null)}/${o}`,{id:a,value:i},t)}};u.createClient=R,u.mapContentToModel=$,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@content-island/api-client",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "description": "Content Island - REST API Client",
5
5
  "private": false,
6
6
  "sideEffects": false,