@nomalism-com/api 0.45.1 → 0.45.2

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.js CHANGED
@@ -2874,6 +2874,10 @@ var Repository78 = class {
2874
2874
  async publicUpdate(selector, body) {
2875
2875
  await this.api.put(`${this.route}public/${selector.id}`, body);
2876
2876
  }
2877
+ async publicAuthenticate({ id }) {
2878
+ const response = await this.api.get(`${this.route}authenticate/${id}`);
2879
+ return response.data;
2880
+ }
2877
2881
  };
2878
2882
 
2879
2883
  // src/modules/integration/projectInfo.ts
@@ -15,4 +15,5 @@ export default class Repository implements Nomalism.Persona.IRepository {
15
15
  findClientOrProvider(params: Nomalism.Persona.IFindClientOrProviderRequest): Promise<Nomalism.Persona.IFindClientOrProviderResponse[]>;
16
16
  findForGmail(params: Nomalism.Persona.IFindForGmailRequest): Promise<Nomalism.Persona.IFindForGmailResponse | null>;
17
17
  publicUpdate(selector: Nomalism.shared.IFindByIdRequest, body: Nomalism.Persona.IPublicUpdateRequest): Promise<void>;
18
+ publicAuthenticate({ id }: Nomalism.shared.IFindByIdRequest): Promise<string | null>;
18
19
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/api",
3
3
  "description": "A nomalism API package for performing HTTP requests on API endpoints",
4
- "version": "0.45.1",
4
+ "version": "0.45.2",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -23,7 +23,7 @@
23
23
  "prepack": "npm run lint && npm run build"
24
24
  },
25
25
  "dependencies": {
26
- "@nomalism-com/types": "^0.45.1",
26
+ "@nomalism-com/types": "^0.45.3",
27
27
  "axios": "^1.16.1"
28
28
  },
29
29
  "devDependencies": {