@rivascva/dt-idl 1.1.98 → 1.1.99

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.
Files changed (2) hide show
  1. package/go/request/http.go +11 -0
  2. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ package request
2
+
3
+ import "net/http"
4
+
5
+ // GetDefaultHTTPClient returns a new HTTP client with the default shared configuration.
6
+ func GetDefaultHTTPClient(service string, secret string) *http.Client {
7
+ //exhaustruct:ignore - other fields are optional
8
+ return &http.Client{
9
+ Transport: NewAuthTransport(http.DefaultTransport, service, secret),
10
+ }
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.98",
3
+ "version": "1.1.99",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",