Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
fix: 🐛 change model requests
Browse files Browse the repository at this point in the history
  • Loading branch information
rique-dev committed May 20, 2021
1 parent 3054a20 commit 8ac2c15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
7 changes: 2 additions & 5 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,15 @@ export declare type GuiabolsoConnectParams = {
button: RenderButtonParams['config'];
}>;
data: {
cpf: string;
cpf?: string;
email: string;
phone: string;
};
environment?: Envs;
userTrackingId: string;
clientId: string;
callbackURL: string;
/**
* only when open a new window
*/
fallbackURL?: string;
fallbackURL: string;
/**
* DOM element to render iframe or button
*/
Expand Down
5 changes: 2 additions & 3 deletions src/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ window.addEventListener('load', () => {
container: document?.querySelector('[data-gbc-container]'),
environment: 'sandbox',
callbackURL: 'https://connect.guiabolso.com.br/#/callback',
fallbackURL: 'https://connect.guiabolso.com.br/#/falback',
config: {
hiddenHeader: true,
labelShareButton: '',
hiddenHeader: false,
},
data: {
phone: '11999999999',
cpf: '99999999999',
email: 'user@teste.com.br',
},
userTrackingId: 'development',
Expand Down

0 comments on commit 8ac2c15

Please sign in to comment.