Comments (6)
@stephenplusplus can we create a release on the latest master?
from gcs-resumable-upload.
I can, but so I understand better, which changes will correct this issue? v0.11.0...master
from gcs-resumable-upload.
it was the update to typescript: ~2.9.0
via 51c7231
from gcs-resumable-upload.
from 2.9 onwards, npm run compile generates:
/// <reference types="node" />
import { AxiosRequestConfig, AxiosResponse } from 'axios';
import * as ConfigStore from 'configstore';
import { GoogleAuth, GoogleAuthOptions } from 'google-auth-library';
import * as Pumpify from 'pumpify';
import * as r from 'request';
export declare type RequestBody = any;
export declare type RequestResponse = AxiosResponse;
export declare type Request = r.Request;
export declare type RequestOptions = AxiosRequestConfig;
export declare type RequestCallback = (err: Error | null, response?: AxiosResponse, body?: RequestBody) => void;
export declare type AuthorizeRequestCallback = (err: Error | null, authorizedReqOpts: RequestOptions) => void;
export declare type CreateUriCallback = (err: Error | null, uri?: string) => void;
export interface Encryption {
key: {};
hash: {};
}
export interface UploadConfig {
/**
* The name of the destination bucket.
*/
bucket: string;
/**
* The name of the destination file.
...
prior to commit 51c7231:
/// <reference types="request" />
/// <reference types="node" />
/// <reference types="pumpify" />
/// <reference types="configstore" />
import { AxiosRequestConfig, AxiosResponse } from 'axios';
import * as ConfigStore from 'configstore';
import { GoogleAuth, GoogleAuthOptions } from 'google-auth-library';
import * as Pumpify from 'pumpify';
import * as r from 'request';
export declare type RequestBody = any;
export declare type RequestResponse = AxiosResponse;
export declare type Request = r.Request;
export declare type RequestOptions = AxiosRequestConfig;
export declare type RequestCallback = (err: Error | null, response?: AxiosResponse, body?: RequestBody) => void;
export declare type AuthorizeRequestCallback = (err: Error | null, authorizedReqOpts: RequestOptions) => void;
export declare type CreateUriCallback = (err: Error | null, uri?: string) => void;
export interface Encryption {
key: {};
hash: {};
}
export interface UploadConfig {
/**
...
from gcs-resumable-upload.
Thank you! Published 0.11.1 👍
from gcs-resumable-upload.
good stuff. Thanks! @stephenplusplus
from gcs-resumable-upload.
Related Issues (20)
- gcs-resumable-upload #makeRequest: should execute the callback with a body error & response failed HOT 1
- gcs-resumable-upload #makeRequest: should execute the callback with a body error & response for non-2xx status codes failed HOT 1
- gcs-resumable-upload #makeRequest: should execute the callback failed HOT 1
- end to end: should work failed HOT 1
- end to end: should resume an interrupted upload failed HOT 1
- end to end: should just make an upload URI failed HOT 1
- end to end: should return a non-resumable failed upload failed HOT 1
- end to end: should set custom config file failed HOT 1
- How does to make example work with google auth library? HOT 1
- end to end: should work failed HOT 1
- end to end: should resume an interrupted upload failed HOT 3
- Your .repo-metadata.json file has a problem 🤒
- Your .repo-metadata.json file has a problem 🤒
- end to end: should work failed
- end to end: should resume an interrupted upload failed
- end to end: should just make an upload URI failed
- end to end: should set custom config file failed HOT 1
- Reasons behind gcs-resumable-upload deprecation and recommended alternatives? HOT 2
- end to end: should set custom config file failed HOT 1
- end to end: should work failed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcs-resumable-upload.