Skip to content

Commit 089f39b

Browse files
authored
Merge pull request #69 from kaleido-io/publish-true
Add publish boolean parameter for creation of token pools, interfaces…
2 parents b9ec55a + 96b5dac commit 089f39b

File tree

4 files changed

+1992
-2069
lines changed

4 files changed

+1992
-2069
lines changed

lib/http.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ export function mapConfig(
3636
confirm: options.confirm,
3737
};
3838
}
39+
if ('publish' in options) {
40+
config.params = {
41+
...config.params,
42+
publish: options.publish,
43+
};
44+
}
3945
}
4046
return config;
4147
}

lib/interfaces.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export interface FireFlyDeleteOptions extends FireFlyBaseHttpOptions {}
3434

3535
export interface FireFlyCreateOptions extends FireFlyBaseHttpOptions {
3636
confirm?: boolean;
37+
publish?: boolean;
3738
}
3839

3940
export interface FireFlyOptionsInput {

0 commit comments

Comments
 (0)