@apifuse/provider-sdk 2.1.0-beta.11 → 2.1.0-beta.12
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/CHANGELOG.md +4 -0
- package/dist/cli/create.js +3 -3
- package/package.json +1 -1
- package/src/cli/create.ts +3 -3
package/CHANGELOG.md
CHANGED
package/dist/cli/create.js
CHANGED
|
@@ -544,8 +544,8 @@ function renderAuthBlock(authMode) {
|
|
|
544
544
|
return `{
|
|
545
545
|
mode: "credentials",
|
|
546
546
|
flow: {
|
|
547
|
-
start: async () => ({
|
|
548
|
-
kind: "
|
|
547
|
+
start: async (_ctx) => ({
|
|
548
|
+
kind: "form",
|
|
549
549
|
turnId: crypto.randomUUID(),
|
|
550
550
|
expectedInput: {
|
|
551
551
|
schema: {
|
|
@@ -588,7 +588,7 @@ function renderAuthBlock(authMode) {
|
|
|
588
588
|
return `{
|
|
589
589
|
mode: "oauth2",
|
|
590
590
|
flow: {
|
|
591
|
-
start: async () => ({
|
|
591
|
+
start: async (_ctx) => ({
|
|
592
592
|
kind: "redirect",
|
|
593
593
|
turnId: crypto.randomUUID(),
|
|
594
594
|
data: {
|
package/package.json
CHANGED
package/src/cli/create.ts
CHANGED
|
@@ -734,8 +734,8 @@ function renderAuthBlock(authMode: CreateAuthMode): string {
|
|
|
734
734
|
return `{
|
|
735
735
|
mode: "credentials",
|
|
736
736
|
flow: {
|
|
737
|
-
start: async () => ({
|
|
738
|
-
kind: "
|
|
737
|
+
start: async (_ctx) => ({
|
|
738
|
+
kind: "form",
|
|
739
739
|
turnId: crypto.randomUUID(),
|
|
740
740
|
expectedInput: {
|
|
741
741
|
schema: {
|
|
@@ -778,7 +778,7 @@ function renderAuthBlock(authMode: CreateAuthMode): string {
|
|
|
778
778
|
return `{
|
|
779
779
|
mode: "oauth2",
|
|
780
780
|
flow: {
|
|
781
|
-
start: async () => ({
|
|
781
|
+
start: async (_ctx) => ({
|
|
782
782
|
kind: "redirect",
|
|
783
783
|
turnId: crypto.randomUUID(),
|
|
784
784
|
data: {
|