@manifoldco/manifold-init
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -6,3 +6,3 @@ 'use strict'; | ||
const index = require('./index-1ab6c73d.js'); | ||
const core = require('./core-35006c51.js'); | ||
const core = require('./core-1887272b.js'); | ||
@@ -44,3 +44,3 @@ const ConnectedButton = class { | ||
version: 0, | ||
componentVersion: '0.6.0', | ||
componentVersion: '0.6.1', | ||
}); | ||
@@ -47,0 +47,0 @@ } |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const core = require('./core-35006c51.js'); | ||
const core = require('./core-1887272b.js'); | ||
@@ -8,0 +8,0 @@ |
@@ -38,3 +38,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
import { r as registerInstance, h, g as getElement, c as createEvent } from './index-19d1abb4.js'; | ||
import { i as initialize } from './core-36c0b795.js'; | ||
import { i as initialize } from './core-02e8dd1a.js'; | ||
var ConnectedButton = /** @class */ (function () { | ||
@@ -116,3 +116,3 @@ function class_1(hostRef) { | ||
version: 0, | ||
componentVersion: '0.6.0', | ||
componentVersion: '0.6.1', | ||
})]; | ||
@@ -119,0 +119,0 @@ case 2: |
import { r as registerInstance, h, g as getElement, c as createEvent } from './index-19d1abb4.js'; | ||
import { i as initialize } from './core-36c0b795.js'; | ||
import { i as initialize } from './core-02e8dd1a.js'; | ||
@@ -39,3 +39,3 @@ const ConnectedButton = class { | ||
version: 0, | ||
componentVersion: '0.6.0', | ||
componentVersion: '0.6.1', | ||
}); | ||
@@ -42,0 +42,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export{i as initialize}from"./p-c5d0562b.js"; | ||
export{i as initialize}from"./p-81a2b677.js"; |
@@ -1,1 +0,1 @@ | ||
import{p as t,b as e}from"./p-17fe885f.js";t().then(t=>e([["p-a31365c8",[[0,"connected-button",{success:[32],badRequest:[32],unauthenticated:[32],planCost:[32]}],[0,"manifold-init",{env:[1],authToken:[1025,"auth-token"],authType:[1,"auth-type"],clientId:[1,"client-id"],initialize:[64]}]]]],t)); | ||
import{p as t,b as e}from"./p-17fe885f.js";t().then(t=>e([["p-68a2779a",[[0,"connected-button",{success:[32],badRequest:[32],unauthenticated:[32],planCost:[32]}],[0,"manifold-init",{env:[1],authToken:[1025,"auth-token"],authType:[1,"auth-type"],clientId:[1,"client-id"],initialize:[64]}]]]],t)); |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-c182383c.system.js"],(function(){"use strict";var t,e;return{setters:[function(n){t=n.p;e=n.b}],execute:function(){t().then((function(t){return e([["p-c9143152.system",[[0,"connected-button",{success:[32],badRequest:[32],unauthenticated:[32],planCost:[32]}],[0,"manifold-init",{env:[1],authToken:[1025,"auth-token"],authType:[1,"auth-type"],clientId:[1,"client-id"],initialize:[64]}]]]],t)}))}}})); | ||
System.register(["./p-c182383c.system.js"],(function(){"use strict";var t,e;return{setters:[function(n){t=n.p;e=n.b}],execute:function(){t().then((function(t){return e([["p-23c89c20.system",[[0,"connected-button",{success:[32],badRequest:[32],unauthenticated:[32],planCost:[32]}],[0,"manifold-init",{env:[1],authToken:[1025,"auth-token"],authType:[1,"auth-type"],clientId:[1,"client-id"],initialize:[64]}]]]],t)}))}}})); |
export interface Gateway { | ||
post: <Resp, Req extends {}>(path: string, body: Req) => Promise<Resp>; | ||
post: <Resp, Req extends {}>(path: string, body: Req, init?: RequestInit) => Promise<Resp>; | ||
} | ||
@@ -4,0 +4,0 @@ export declare function createGateway({ baseUrl, retries, }: { |
@@ -39,4 +39,4 @@ import { Analytics } from './analytics'; | ||
} | ||
export declare type GraphqlFetch = <T>(args: GraphqlRequest) => Promise<GraphqlResponseBody<T>>; | ||
export declare type GraphqlFetch = <T>(args: GraphqlRequest, init?: RequestInit) => Promise<GraphqlResponseBody<T>>; | ||
export declare function createGraphqlFetch({ element, endpoint, getAuthToken, clearAuthToken, version, retries, clientId, analytics, waitTime, }: CreateGraphqlFetch): GraphqlFetch; | ||
export {}; |
@@ -18,3 +18,3 @@ { | ||
], | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Manifold UI Initialization", | ||
@@ -21,0 +21,0 @@ "main": "dist/index.js", |
@@ -8,3 +8,3 @@ import { ManifoldError, ErrorType } from './ManifoldError'; | ||
export interface Gateway { | ||
post: <Resp, Req extends {}>(path: string, body: Req) => Promise<Resp>; | ||
post: <Resp, Req extends {}>(path: string, body: Req, init?: RequestInit) => Promise<Resp>; | ||
} | ||
@@ -11,0 +11,0 @@ |
@@ -63,3 +63,6 @@ import { ManifoldError, ErrorType } from './ManifoldError'; | ||
export type GraphqlFetch = <T>(args: GraphqlRequest) => Promise<GraphqlResponseBody<T>>; | ||
export type GraphqlFetch = <T>( | ||
args: GraphqlRequest, | ||
init?: RequestInit | ||
) => Promise<GraphqlResponseBody<T>>; | ||
@@ -66,0 +69,0 @@ export function createGraphqlFetch({ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
760536
10207