How to use the bespoken-tools/lib/client/url-mangler.URLMangler.mangleNoPath function in bespoken-tools

To help you get started, we’ve selected a few bespoken-tools examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bespoken-cookbook / serverless-plugin-bespoken / src / ServerlessPluginBespoken.ts View on Github external
this.serverless.cli.log(
          "The public URL for accessing your local service"
        );
        this.serverless.cli.log("");

        this.serverless.cli.log(
          URLMangler.manglePipeToPath(Global.config().sourceID())
        );
      }
      this.serverless.cli.log("");
      this.serverless.cli.log(
        "The URL for viewing transaction history of requests/responses sent through the proxy service"
      );
      this.serverless.cli.log("");
      this.serverless.cli.log(
        URLMangler.mangleNoPath(
          Global.config().sourceID(),
          Global.config().secretKey()
        )
      );
    });
  };