File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 1- import axios from 'axios'
2- import createHmac from 'create-hmac'
3- import OAuth from 'oauth-1.0a'
4- import Url from 'url-parse'
1+ import * as OAuth from 'oauth-1.0a'
52
6- export type WooCommerceRestApiVersion =
3+ export declare type WooCommerceRestApiVersion =
74 | 'wc/v3'
85 | 'wc/v2'
96 | 'wc/v1'
107 | 'wc-api/v3'
118 | 'wc-api/v2'
129 | 'wc-api/v1'
13- export type WooCommerceRestApiEncoding = 'utf-8' | 'ascii'
14- export type WooCommerceRestApiMethod =
10+ export declare type WooCommerceRestApiEncoding = 'utf-8' | 'ascii'
11+ export declare type WooCommerceRestApiMethod =
1512 | 'get'
1613 | 'post'
1714 | 'put'
@@ -50,7 +47,7 @@ export interface IWooCommerceRestApiQuery {
5047 *
5148 * @param {Object } opt
5249 */
53- export class WooCommerceRestApi {
50+ export default class WooCommerceRestApi {
5451 protected classVersion : string
5552 protected url : string
5653 protected consumerKey : string
@@ -202,5 +199,3 @@ export class OptionsException {
202199 */
203200 constructor ( message : string )
204201}
205-
206- export default WooCommerceRestApi
You can’t perform that action at this time.
0 commit comments