nbound 1.0.4 → 1.0.6
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/bin/nbound.js +4 -4
- package/dist/index.js +4 -4
- package/dist/index.js.map +5 -5
- package/package.json +2 -2
- package/dist/bin/hookdebug.js +0 -13140
package/dist/bin/nbound.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
// @bun
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -12691,7 +12691,7 @@ var updateProfileSchema = exports_external.object({
|
|
|
12691
12691
|
name: exports_external.string().max(100).nullable().optional()
|
|
12692
12692
|
});
|
|
12693
12693
|
var createEndpointSchema = exports_external.object({
|
|
12694
|
-
name: exports_external.string().
|
|
12694
|
+
name: exports_external.string().max(100).optional(),
|
|
12695
12695
|
description: exports_external.string().max(500).optional(),
|
|
12696
12696
|
teamId: exports_external.string().startsWith("team_").optional()
|
|
12697
12697
|
});
|
|
@@ -12705,7 +12705,7 @@ var updateMockResponseSchema = exports_external.object({
|
|
|
12705
12705
|
statusCode: exports_external.number().int().min(100).max(599).optional(),
|
|
12706
12706
|
headers: exports_external.record(exports_external.string()).optional(),
|
|
12707
12707
|
body: exports_external.string().max(1e4).nullable().optional(),
|
|
12708
|
-
delayMs: exports_external.number().int().min(0).max(
|
|
12708
|
+
delayMs: exports_external.number().int().min(0).max(5000).optional(),
|
|
12709
12709
|
isActive: exports_external.boolean().optional()
|
|
12710
12710
|
});
|
|
12711
12711
|
var listRequestsSchema = exports_external.object({
|
|
@@ -13580,7 +13580,7 @@ async function createCommand2(nameArg, options) {
|
|
|
13580
13580
|
}
|
|
13581
13581
|
|
|
13582
13582
|
// src/index.ts
|
|
13583
|
-
program.name("nbound").description("Forward webhooks to localhost for development").version("1.0.
|
|
13583
|
+
program.name("nbound").description("Forward webhooks to localhost for development").version("1.0.6");
|
|
13584
13584
|
program.command("login").description("Authenticate with nbound").option("--token <token>", "Use an existing API token").action(loginCommand);
|
|
13585
13585
|
program.command("logout").description("Clear stored credentials").action(logoutCommand);
|
|
13586
13586
|
program.command("whoami").description("Show current authenticated user").action(whoamiCommand);
|
package/dist/index.js
CHANGED
|
@@ -12689,7 +12689,7 @@ var updateProfileSchema = exports_external.object({
|
|
|
12689
12689
|
name: exports_external.string().max(100).nullable().optional()
|
|
12690
12690
|
});
|
|
12691
12691
|
var createEndpointSchema = exports_external.object({
|
|
12692
|
-
name: exports_external.string().
|
|
12692
|
+
name: exports_external.string().max(100).optional(),
|
|
12693
12693
|
description: exports_external.string().max(500).optional(),
|
|
12694
12694
|
teamId: exports_external.string().startsWith("team_").optional()
|
|
12695
12695
|
});
|
|
@@ -12703,7 +12703,7 @@ var updateMockResponseSchema = exports_external.object({
|
|
|
12703
12703
|
statusCode: exports_external.number().int().min(100).max(599).optional(),
|
|
12704
12704
|
headers: exports_external.record(exports_external.string()).optional(),
|
|
12705
12705
|
body: exports_external.string().max(1e4).nullable().optional(),
|
|
12706
|
-
delayMs: exports_external.number().int().min(0).max(
|
|
12706
|
+
delayMs: exports_external.number().int().min(0).max(5000).optional(),
|
|
12707
12707
|
isActive: exports_external.boolean().optional()
|
|
12708
12708
|
});
|
|
12709
12709
|
var listRequestsSchema = exports_external.object({
|
|
@@ -13578,7 +13578,7 @@ async function createCommand2(nameArg, options) {
|
|
|
13578
13578
|
}
|
|
13579
13579
|
|
|
13580
13580
|
// src/index.ts
|
|
13581
|
-
program.name("nbound").description("Forward webhooks to localhost for development").version("1.0.
|
|
13581
|
+
program.name("nbound").description("Forward webhooks to localhost for development").version("1.0.6");
|
|
13582
13582
|
program.command("login").description("Authenticate with nbound").option("--token <token>", "Use an existing API token").action(loginCommand);
|
|
13583
13583
|
program.command("logout").description("Clear stored credentials").action(logoutCommand);
|
|
13584
13584
|
program.command("whoami").description("Show current authenticated user").action(whoamiCommand);
|
|
@@ -13587,5 +13587,5 @@ program.command("endpoints").description("List your endpoints").option("--json",
|
|
|
13587
13587
|
program.command("create [name]").description("Create a new endpoint").option("-n, --name <name>", "Endpoint name").option("-d, --description <description>", "Endpoint description").action(createCommand2);
|
|
13588
13588
|
program.parse();
|
|
13589
13589
|
|
|
13590
|
-
//# debugId=
|
|
13590
|
+
//# debugId=A13DD1F1898AF0FC64756E2164756E21
|
|
13591
13591
|
//# sourceMappingURL=index.js.map
|