@ossy/sdk 1.16.10 → 1.16.11

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.
@@ -1,6 +1,6 @@
1
- import { Resource, Job, JobType, SDKConfig, Action } from '@ossy/types';
1
+ import { Resource, Job, JobType, Action, SDKConfig } from '@ossy/types';
2
2
  export * from '@ossy/types';
3
- export { JobStatus, Jobs } from '@ossy/types';
3
+ export { Action, JobStatus, Jobs } from '@ossy/types';
4
4
 
5
5
  interface ResourcesClient {
6
6
  search: (payload: Record<string, unknown>) => Promise<Resource<Job>[]>;
@@ -33,6 +33,118 @@ declare class JobsClient {
33
33
  }): Promise<Resource<Job>>;
34
34
  }
35
35
 
36
+ declare const ApiTokenGetAll: Action;
37
+ declare const ApiTokenCreate: Action<{
38
+ name: string;
39
+ description: string;
40
+ expiresAt: string;
41
+ }>;
42
+ declare const ApiTokenInvalidate: Action<{
43
+ id: string;
44
+ }>;
45
+ declare const WorkspacesList: Action;
46
+ declare const WorkspacesGetCurrent: Action;
47
+ declare const WorkspacesGet: Action<{
48
+ id: string;
49
+ }>;
50
+ declare const WorkspacesCreate: Action<{
51
+ name: string;
52
+ }>;
53
+ declare const WorkspacesImportResourceTemplates: Action<{
54
+ templates: any;
55
+ }>;
56
+ declare const WorkspacesGetResourceTemplates: Action;
57
+ declare const WorkspacesCreateApiToken: Action<{
58
+ description: string;
59
+ }>;
60
+ declare const WorkspacesGetApiTokens: Action;
61
+ declare const WorkspacesInviteUser: Action<{
62
+ email: string;
63
+ }>;
64
+ declare const WorkspacesEnableService: Action<{
65
+ service: any;
66
+ }>;
67
+ declare const WorkspacesDisableService: Action<{
68
+ service: any;
69
+ }>;
70
+ declare const WorkspacesGetUsers: Action;
71
+ declare const UserCurrentGet: Action;
72
+ declare const UserCurrentGetHistory: Action;
73
+ declare const UserCurrentUpdate: Action<{
74
+ user: any;
75
+ }>;
76
+ declare const ResourcesCreateDirectory: Action<{
77
+ type?: 'directory';
78
+ location: string;
79
+ name: string;
80
+ }>;
81
+ declare const ResourcesCreate: Action<{
82
+ type: string;
83
+ location: string;
84
+ name: string;
85
+ content?: any;
86
+ }>;
87
+ declare const ResourcesUpload: Action<{
88
+ location: string;
89
+ type: string;
90
+ name: string;
91
+ size: number;
92
+ }>;
93
+ declare const ResourcesUploadNamedVersion: Action<{
94
+ id: string;
95
+ name: string;
96
+ size: number;
97
+ }>;
98
+ declare const ResourcesGet: Action<{
99
+ id: string;
100
+ }>;
101
+ declare const ResourcesList: Action<{
102
+ search?: string;
103
+ }>;
104
+ declare const ResourcesSearch: Action<Record<string, unknown>>;
105
+ declare const ResourceUpdateAccess: Action<{
106
+ id: string;
107
+ access: 'restricted' | 'public';
108
+ }>;
109
+ declare const ResourcesRemove: Action<{
110
+ id: string;
111
+ }>;
112
+ declare const ResourcesUpdateContent: Action<{
113
+ id: string;
114
+ content: any;
115
+ }>;
116
+ declare const ResourcesMove: Action<{
117
+ id: string;
118
+ target: string;
119
+ }>;
120
+ declare const ResourcesRename: Action<{
121
+ id: string;
122
+ name: string;
123
+ }>;
124
+ /** Short-lived ECR registry password for `docker login` (same AWS account as the API credentials). */
125
+ declare const RegistryEcrPushCredentials: Action;
126
+ declare const AuthSignUp: Action<{
127
+ email: string;
128
+ firstName: string;
129
+ lastName: string;
130
+ }>;
131
+ declare const AuthSignIn: Action<{
132
+ email: string;
133
+ }>;
134
+ declare const AuthVerifySignIn: Action<{
135
+ token: string;
136
+ }>;
137
+ declare const AuthVerifyInvitation: Action<{
138
+ workspaceId: string;
139
+ token: string;
140
+ }>;
141
+ declare const AuthGetAuthenticatedUser: Action;
142
+ declare const AuthGetAuthenticatedUserHistory: Action;
143
+ declare const AuthGetUser: Action<{
144
+ id: string;
145
+ }>;
146
+ declare const AuthSignOff: Action;
147
+
36
148
  declare class SDK {
37
149
  workspaceId?: string;
38
150
  authorization?: string;
@@ -166,4 +278,4 @@ declare class SDK {
166
278
  makeRequest: <T extends Action>(action: T) => (_payload?: Required<T["payload"]>) => Promise<any>;
167
279
  }
168
280
 
169
- export { SDK };
281
+ export { ApiTokenCreate, ApiTokenGetAll, ApiTokenInvalidate, AuthGetAuthenticatedUser, AuthGetAuthenticatedUserHistory, AuthGetUser, AuthSignIn, AuthSignOff, AuthSignUp, AuthVerifyInvitation, AuthVerifySignIn, RegistryEcrPushCredentials, ResourceUpdateAccess, ResourcesCreate, ResourcesCreateDirectory, ResourcesGet, ResourcesList, ResourcesMove, ResourcesRemove, ResourcesRename, ResourcesSearch, ResourcesUpdateContent, ResourcesUpload, ResourcesUploadNamedVersion, SDK, UserCurrentGet, UserCurrentGetHistory, UserCurrentUpdate, WorkspacesCreate, WorkspacesCreateApiToken, WorkspacesDisableService, WorkspacesEnableService, WorkspacesGet, WorkspacesGetApiTokens, WorkspacesGetCurrent, WorkspacesGetResourceTemplates, WorkspacesGetUsers, WorkspacesImportResourceTemplates, WorkspacesInviteUser, WorkspacesList };
@@ -1 +1 @@
1
- const e={VisualContentDescriptors:"@ossy/jobs/visual-content-descriptors",ResizeCommonWeb:"@ossy/jobs/resize-common-web"},t={Queued:"queued",InProgress:"in progress",Success:"success",Failed:"failed"};class s{static of(e){return new s(e)}constructor(e){this.http=null==e?void 0:e.http,this.resources=e.resources}get(e={}){const t="string"==typeof e?{id:e}:e;return t.location=s.location,this.resources.search({query:t})}getUnprocessed(){return this.resources.search({$and:[{$or:[{"content.nextReevaluation":{$exists:!1}},{"content.nextReevaluation":null},{"content.nextReevaluation":{$lt:Date.now()}}]},{"content.status":{$in:["queued","failed"]}},{location:"/@ossy/jobs/"},{type:{$regex:"^@ossy/jobs"}}]})}create({type:i,resourceId:n}){if(!Object.values(e).includes(i))throw new Error(`Job type ${i} does not exist`);if(!n)throw new Error("Resource ID is required");return this.resources.create({type:i,location:s.location,name:`[${t.Queued}] ${n}`,content:{resourceId:n,status:t.Queued,result:void 0}})}}s.location="/@ossy/jobs/";const i={id:"api-tokens.get-all",endpoint:"/users/me/tokens",method:"GET"},n={id:"api-tokens.create",endpoint:"/users/me/tokens",method:"POST"},o={id:"api-tokens.invalidate",endpoint:"/users/me/tokens/:id",method:"DELETE"},r={id:"workspaces.get-all",endpoint:"/workspaces",method:"GET"},d={id:"workspaces.get-current",endpoint:"/workspaces/current",method:"GET"},a={id:"workspaces.get",endpoint:"/workspaces/:id",method:"GET"},u={id:"workspaces.create",endpoint:"/workspaces",method:"POST"},h={id:"workspaces.import-resource-templates",endpoint:"/resource-templates",method:"POST"},c={id:"workspaces.get-resource-templates",endpoint:"/resource-templates",method:"GET"},p={id:"workspaces.create-api-token",endpoint:"/tokens",method:"POST"},m={id:"workspaces.get-api-tokens",endpoint:"/tokens",method:"GET"},k={id:"workspaces.invite-user",endpoint:"/invitations",method:"POST"},l={id:"workspaces.enable-service",endpoint:"/services/enable",method:"POST"},b={id:"workspaces.disable-service",endpoint:"/services/disable",method:"POST"},g={id:"workspaces.get-users",endpoint:"/users",method:"GET"},T={id:"user.get",endpoint:"/users/me",method:"GET"},R={id:"user.get-history",endpoint:"/users/me/history",method:"GET"},q={id:"user.update",endpoint:"/users/me",method:"PUT"},y={id:"resources.create-directory",endpoint:"/resources",method:"POST",payload:{type:"directory"}},w={id:"resources.create",endpoint:"/resources",method:"POST"},v={id:"resources.upload",endpoint:"/resources",method:"POST"},f={id:"resources.upload-named-version",endpoint:"/resources/:id/:name",method:"PUT"},P={id:"resources.get",endpoint:"/resources/:id",method:"GET"},E={id:"resources.list",endpoint:"/resources?:search",method:"GET"},O={id:"resources.search",endpoint:"/resources/search",method:"POST"},U={id:"resources.update-access",endpoint:"/resources/:id/access",method:"PUT"},S={id:"resources.remove",endpoint:"/resources/:id",method:"DELETE"},j={id:"resources.update-content",endpoint:"/resources/:id/content",method:"PUT"},G={id:"resources.move",endpoint:"/resources/:id/location",method:"PUT"},I={id:"resources.rename",endpoint:"/resources/:id/name",method:"PUT"},z={id:"registry.ecr-push-credentials",endpoint:"/registry/ecr/push-credentials",method:"POST"},$={id:"auth.sign-up",endpoint:"/users/sign-up",method:"POST"},C={id:"auth.sign-in",endpoint:"/users/sign-in",method:"POST"},x={id:"auth.verify-sign-in",endpoint:"/users/verify-sign-in?token=:token",method:"GET"},D={id:"auth.verify-invitation",endpoint:"/workspaces/:workspaceId/invitations?token=:token",method:"GET"},A={id:"auth.get-authenticated-user",endpoint:"/users/me",method:"GET"},J={id:"auth.get-authenticated-user-history",endpoint:"/users/me/history",method:"GET"},L={id:"auth.get-user",endpoint:"/users/:id",method:"GET"},Q={id:"auth.sign-off",endpoint:"/users/sign-off",method:"GET"};class N{static of(e){return new N(e)}constructor(e){this.baseUrl="https://api.ossy.se/api/v0",this.makeRequest=e=>t=>{let s={};(t||e.payload)&&(s=Object.assign(Object.assign({},e.payload||{}),t||{}));let i="apiUrl"in s?null==s?void 0:s.apiUrl:this.baseUrl,n="workspaceId"in s?s.workspaceId:this.workspaceId,o="authorization"in s?s.authorization:this.authorization,r=e.endpoint;if(s){const t=Object.keys(s);r=e.endpoint,r=t.reduce((e,t)=>e.replace(`:${t}`,`${s[t]}`),e.endpoint)}const d=`${i}${r}`,a={method:e.method,credentials:"include",headers:{"Content-Type":"application/json"}};return n&&(a.headers=Object.assign(Object.assign({},a.headers),{workspaceId:n})),o&&(a.headers=Object.assign(Object.assign({},a.headers),{Authorization:o})),"GET"!==a.method&&s&&(a.body=JSON.stringify(s)),fetch(d,a).then(e=>{const t=e.headers.get("Content-Type")||"",s=e.status;return 400===s?e.json().then(e=>Promise.reject(e.error)):[200,204].includes(s)?t.includes("application/json")?e.json():e:Promise.reject(e)})},this.updateConfig(e)}updateConfig(e){this.baseUrl=e.apiUrl||this.baseUrl,this.workspaceId=e.workspaceId||this.workspaceId,this.authorization=e.authorization||this.authorization}get apiTokens(){return{list:this.makeRequest(i).bind(this),create:this.makeRequest(n).bind(this),invalidate:this.makeRequest(o).bind(this)}}get workspaces(){return{current:this.makeRequest(d).bind(this),list:this.makeRequest(r).bind(this),get:this.makeRequest(a).bind(this),create:this.makeRequest(u).bind(this),importResourceTemplates:this.makeRequest(h).bind(this),getResourceTemplates:this.makeRequest(c).bind(this),createApiToken:this.makeRequest(p).bind(this),getApiTokens:this.makeRequest(m).bind(this),inviteUser:this.makeRequest(k).bind(this),enableService:this.makeRequest(l).bind(this),disableService:this.makeRequest(b).bind(this)}}get users(){return{list:this.makeRequest(g).bind(this)}}get currentUser(){return{get:this.makeRequest(T).bind(this),update:this.makeRequest(q).bind(this),history:this.makeRequest(R).bind(this)}}get registry(){return{ecrPushCredentials:this.makeRequest(z).bind(this)}}get resources(){return{createDirectory:this.makeRequest(y).bind(this),create:this.makeRequest(w).bind(this),access:this.makeRequest(U).bind(this),upload:({location:e="/",file:t})=>{const s={type:t.type,location:e,name:t.name,size:t.size};return this.makeRequest(v)(s).then(e=>fetch(e.content.uploadUrl,{method:"PUT",body:t}).then(()=>e))},uploadNamedVersion:({id:e,name:t,file:s})=>{const i={id:e,name:t,size:s.size};this.makeRequest(f)(i).then(e=>fetch(e.content.uploadUrl,{method:"PUT",body:s}).then(()=>e))},get:this.makeRequest(P).bind(this),list:e=>{const t=new URLSearchParams(Object.assign({},e)).toString();return this.makeRequest(E)({search:t})},search:this.makeRequest(O).bind(this),remove:this.makeRequest(S).bind(this),updateContent:this.makeRequest(j).bind(this),move:this.makeRequest(G).bind(this),rename:this.makeRequest(I).bind(this)}}get auth(){return{signUp:this.makeRequest($).bind(this),signIn:this.makeRequest(C).bind(this),verifySignIn:this.makeRequest(x).bind(this),verifyInvitation:this.makeRequest(D).bind(this),getAuthenticatedUser:this.makeRequest(A).bind(this),getAuthenticatedUserHistory:this.makeRequest(J).bind(this),getUser:this.makeRequest(L).bind(this),signOff:this.makeRequest(Q).bind(this)}}get jobs(){return s.of({resources:this.resources})}}export{t as JobStatus,e as Jobs,N as SDK};
1
+ const e={VisualContentDescriptors:"@ossy/jobs/visual-content-descriptors",ResizeCommonWeb:"@ossy/jobs/resize-common-web"},t={Queued:"queued",InProgress:"in progress",Success:"success",Failed:"failed"};class s{static of(e){return new s(e)}constructor(e){this.http=null==e?void 0:e.http,this.resources=e.resources}get(e={}){const t="string"==typeof e?{id:e}:e;return t.location=s.location,this.resources.search({query:t})}getUnprocessed(){return this.resources.search({$and:[{$or:[{"content.nextReevaluation":{$exists:!1}},{"content.nextReevaluation":null},{"content.nextReevaluation":{$lt:Date.now()}}]},{"content.status":{$in:["queued","failed"]}},{location:"/@ossy/jobs/"},{type:{$regex:"^@ossy/jobs"}}]})}create({type:i,resourceId:n}){if(!Object.values(e).includes(i))throw new Error(`Job type ${i} does not exist`);if(!n)throw new Error("Resource ID is required");return this.resources.create({type:i,location:s.location,name:`[${t.Queued}] ${n}`,content:{resourceId:n,status:t.Queued,result:void 0}})}}s.location="/@ossy/jobs/";const i={id:"api-tokens.get-all",endpoint:"/users/me/tokens",method:"GET"},n={id:"api-tokens.create",endpoint:"/users/me/tokens",method:"POST"},o={id:"api-tokens.invalidate",endpoint:"/users/me/tokens/:id",method:"DELETE"},r={id:"workspaces.get-all",endpoint:"/workspaces",method:"GET"},d={id:"workspaces.get-current",endpoint:"/workspaces/current",method:"GET"},a={id:"workspaces.get",endpoint:"/workspaces/:id",method:"GET"},u={id:"workspaces.create",endpoint:"/workspaces",method:"POST"},h={id:"workspaces.import-resource-templates",endpoint:"/resource-templates",method:"POST"},c={id:"workspaces.get-resource-templates",endpoint:"/resource-templates",method:"GET"},p={id:"workspaces.create-api-token",endpoint:"/tokens",method:"POST"},m={id:"workspaces.get-api-tokens",endpoint:"/tokens",method:"GET"},k={id:"workspaces.invite-user",endpoint:"/invitations",method:"POST"},l={id:"workspaces.enable-service",endpoint:"/services/enable",method:"POST"},b={id:"workspaces.disable-service",endpoint:"/services/disable",method:"POST"},g={id:"workspaces.get-users",endpoint:"/users",method:"GET"},T={id:"user.get",endpoint:"/users/me",method:"GET"},R={id:"user.get-history",endpoint:"/users/me/history",method:"GET"},q={id:"user.update",endpoint:"/users/me",method:"PUT"},y={id:"resources.create-directory",endpoint:"/resources",method:"POST",payload:{type:"directory"}},w={id:"resources.create",endpoint:"/resources",method:"POST"},v={id:"resources.upload",endpoint:"/resources",method:"POST"},f={id:"resources.upload-named-version",endpoint:"/resources/:id/:name",method:"PUT"},P={id:"resources.get",endpoint:"/resources/:id",method:"GET"},E={id:"resources.list",endpoint:"/resources?:search",method:"GET"},O={id:"resources.search",endpoint:"/resources/search",method:"POST"},U={id:"resources.update-access",endpoint:"/resources/:id/access",method:"PUT"},S={id:"resources.remove",endpoint:"/resources/:id",method:"DELETE"},j={id:"resources.update-content",endpoint:"/resources/:id/content",method:"PUT"},G={id:"resources.move",endpoint:"/resources/:id/location",method:"PUT"},I={id:"resources.rename",endpoint:"/resources/:id/name",method:"PUT"},z={id:"registry.ecr-push-credentials",endpoint:"/registry/ecr/push-credentials",method:"POST"},$={id:"auth.sign-up",endpoint:"/users/sign-up",method:"POST"},C={id:"auth.sign-in",endpoint:"/users/sign-in",method:"POST"},x={id:"auth.verify-sign-in",endpoint:"/users/verify-sign-in?token=:token",method:"GET"},D={id:"auth.verify-invitation",endpoint:"/workspaces/:workspaceId/invitations?token=:token",method:"GET"},A={id:"auth.get-authenticated-user",endpoint:"/users/me",method:"GET"},J={id:"auth.get-authenticated-user-history",endpoint:"/users/me/history",method:"GET"},L={id:"auth.get-user",endpoint:"/users/:id",method:"GET"},Q={id:"auth.sign-off",endpoint:"/users/sign-off",method:"GET"};class N{static of(e){return new N(e)}constructor(e){this.baseUrl="https://api.ossy.se/api/v0",this.makeRequest=e=>t=>{let s={};(t||e.payload)&&(s=Object.assign(Object.assign({},e.payload||{}),t||{}));let i="apiUrl"in s?null==s?void 0:s.apiUrl:this.baseUrl,n="workspaceId"in s?s.workspaceId:this.workspaceId,o="authorization"in s?s.authorization:this.authorization,r=e.endpoint;if(s){const t=Object.keys(s);r=e.endpoint,r=t.reduce((e,t)=>e.replace(`:${t}`,`${s[t]}`),e.endpoint)}const d=`${i}${r}`,a={method:e.method,credentials:"include",headers:{"Content-Type":"application/json"}};return n&&(a.headers=Object.assign(Object.assign({},a.headers),{workspaceId:n})),o&&(a.headers=Object.assign(Object.assign({},a.headers),{Authorization:o})),"GET"!==a.method&&s&&(a.body=JSON.stringify(s)),fetch(d,a).then(e=>{const t=e.headers.get("Content-Type")||"",s=e.status;return 400===s?e.json().then(e=>Promise.reject(e.error)):[200,204].includes(s)?t.includes("application/json")?e.json():e:Promise.reject(e)})},this.updateConfig(e)}updateConfig(e){this.baseUrl=e.apiUrl||this.baseUrl,this.workspaceId=e.workspaceId||this.workspaceId,this.authorization=e.authorization||this.authorization}get apiTokens(){return{list:this.makeRequest(i).bind(this),create:this.makeRequest(n).bind(this),invalidate:this.makeRequest(o).bind(this)}}get workspaces(){return{current:this.makeRequest(d).bind(this),list:this.makeRequest(r).bind(this),get:this.makeRequest(a).bind(this),create:this.makeRequest(u).bind(this),importResourceTemplates:this.makeRequest(h).bind(this),getResourceTemplates:this.makeRequest(c).bind(this),createApiToken:this.makeRequest(p).bind(this),getApiTokens:this.makeRequest(m).bind(this),inviteUser:this.makeRequest(k).bind(this),enableService:this.makeRequest(l).bind(this),disableService:this.makeRequest(b).bind(this)}}get users(){return{list:this.makeRequest(g).bind(this)}}get currentUser(){return{get:this.makeRequest(T).bind(this),update:this.makeRequest(q).bind(this),history:this.makeRequest(R).bind(this)}}get registry(){return{ecrPushCredentials:this.makeRequest(z).bind(this)}}get resources(){return{createDirectory:this.makeRequest(y).bind(this),create:this.makeRequest(w).bind(this),access:this.makeRequest(U).bind(this),upload:({location:e="/",file:t})=>{const s={type:t.type,location:e,name:t.name,size:t.size};return this.makeRequest(v)(s).then(e=>fetch(e.content.uploadUrl,{method:"PUT",body:t}).then(()=>e))},uploadNamedVersion:({id:e,name:t,file:s})=>{const i={id:e,name:t,size:s.size};this.makeRequest(f)(i).then(e=>fetch(e.content.uploadUrl,{method:"PUT",body:s}).then(()=>e))},get:this.makeRequest(P).bind(this),list:e=>{const t=new URLSearchParams(Object.assign({},e)).toString();return this.makeRequest(E)({search:t})},search:this.makeRequest(O).bind(this),remove:this.makeRequest(S).bind(this),updateContent:this.makeRequest(j).bind(this),move:this.makeRequest(G).bind(this),rename:this.makeRequest(I).bind(this)}}get auth(){return{signUp:this.makeRequest($).bind(this),signIn:this.makeRequest(C).bind(this),verifySignIn:this.makeRequest(x).bind(this),verifyInvitation:this.makeRequest(D).bind(this),getAuthenticatedUser:this.makeRequest(A).bind(this),getAuthenticatedUserHistory:this.makeRequest(J).bind(this),getUser:this.makeRequest(L).bind(this),signOff:this.makeRequest(Q).bind(this)}}get jobs(){return s.of({resources:this.resources})}}export{n as ApiTokenCreate,i as ApiTokenGetAll,o as ApiTokenInvalidate,A as AuthGetAuthenticatedUser,J as AuthGetAuthenticatedUserHistory,L as AuthGetUser,C as AuthSignIn,Q as AuthSignOff,$ as AuthSignUp,D as AuthVerifyInvitation,x as AuthVerifySignIn,t as JobStatus,e as Jobs,z as RegistryEcrPushCredentials,U as ResourceUpdateAccess,w as ResourcesCreate,y as ResourcesCreateDirectory,P as ResourcesGet,E as ResourcesList,G as ResourcesMove,S as ResourcesRemove,I as ResourcesRename,O as ResourcesSearch,j as ResourcesUpdateContent,v as ResourcesUpload,f as ResourcesUploadNamedVersion,N as SDK,T as UserCurrentGet,R as UserCurrentGetHistory,q as UserCurrentUpdate,u as WorkspacesCreate,p as WorkspacesCreateApiToken,b as WorkspacesDisableService,l as WorkspacesEnableService,a as WorkspacesGet,m as WorkspacesGetApiTokens,d as WorkspacesGetCurrent,c as WorkspacesGetResourceTemplates,g as WorkspacesGetUsers,h as WorkspacesImportResourceTemplates,k as WorkspacesInviteUser,r as WorkspacesList};
@@ -1,3 +1,4 @@
1
1
  export { Jobs, JobStatus } from './jobs-client.js';
2
2
  export * from '@ossy/types';
3
3
  export * from './sdk';
4
+ export * from './Actions';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ossy/sdk",
3
3
  "description": "Sofware Development Kit for interacting with our services",
4
- "version": "1.16.10",
4
+ "version": "1.16.11",
5
5
  "url": "git://github.com/ossy-se/packages/sdk",
6
6
  "source": "src/public.index.ts",
7
7
  "main": "build/public.index.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@ossy/types": "^1.16.10"
24
+ "@ossy/types": "^1.16.11"
25
25
  },
26
26
  "scripts": {
27
27
  "start": "",
@@ -36,5 +36,5 @@
36
36
  "/build",
37
37
  "README.md"
38
38
  ],
39
- "gitHead": "5821b2cea64c9ca0ece35d65a463006852abf167"
39
+ "gitHead": "17a1a491a5239502f989b3745dab7a6c8ae17076"
40
40
  }