aeria-sdk 0.0.60 → 0.0.62

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/mirror.js CHANGED
@@ -35,7 +35,7 @@ ${config.integrated
35
35
  }
36
36
  }\n`}
37
37
  declare module 'aeria-sdk' {
38
- import { TopLevelObject, TLOFunctions, AuthenticationPayload } from 'aeria-sdk'
38
+ import { TopLevelObject, TLOFunctions } from 'aeria-sdk'
39
39
 
40
40
  type UnionToIntersection<T> = (T extends any ? ((x: T) => 0) : never) extends ((x: infer R) => 0)
41
41
  ? R
@@ -79,7 +79,7 @@ declare module 'aeria-sdk' {
79
79
  ? UnionToIntersection<Endpoints[keyof Endpoints]>
80
80
  : never
81
81
 
82
- type TopLevelFunction = (auth?: AuthenticationPayload) => TopLevelObject & Endpoints
82
+ type TopLevelFunction = (bearerToken?: string) => TopLevelObject & Endpoints
83
83
  declare const aeria: TopLevelFunction
84
84
 
85
85
  export const url: string
package/dist/mirror.mjs CHANGED
@@ -31,7 +31,7 @@ ${config.integrated ? "" : `declare global {
31
31
  }
32
32
  `}
33
33
  declare module 'aeria-sdk' {
34
- import { TopLevelObject, TLOFunctions, AuthenticationPayload } from 'aeria-sdk'
34
+ import { TopLevelObject, TLOFunctions } from 'aeria-sdk'
35
35
 
36
36
  type UnionToIntersection<T> = (T extends any ? ((x: T) => 0) : never) extends ((x: infer R) => 0)
37
37
  ? R
@@ -75,7 +75,7 @@ declare module 'aeria-sdk' {
75
75
  ? UnionToIntersection<Endpoints[keyof Endpoints]>
76
76
  : never
77
77
 
78
- type TopLevelFunction = (auth?: AuthenticationPayload) => TopLevelObject & Endpoints
78
+ type TopLevelFunction = (bearerToken?: string) => TopLevelObject & Endpoints
79
79
  declare const aeria: TopLevelFunction
80
80
 
81
81
  export const url: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aeria-sdk",
3
- "version": "0.0.60",
3
+ "version": "0.0.62",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -60,8 +60,8 @@
60
60
  "@aeriajs/types": "link:../types"
61
61
  },
62
62
  "peerDependencies": {
63
- "@aeriajs/common": "^0.0.38",
64
- "@aeriajs/types": "^0.0.35"
63
+ "@aeriajs/common": "^0.0.39",
64
+ "@aeriajs/types": "^0.0.36"
65
65
  },
66
66
  "scripts": {
67
67
  "test": "echo skipping",