vssue
Advanced tools
Comparing version 0.7.0 to 0.7.1
{ | ||
"name": "vssue", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "A vue-powered issue-based comment plugin", | ||
@@ -34,3 +34,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@vssue/utils": "^0.7.0", | ||
"@vssue/utils": "^0.7.1", | ||
"github-markdown-css": "^2.10.0", | ||
@@ -44,6 +44,6 @@ "vue": "^2.5.21", | ||
"@babel/preset-env": "^7.2.3", | ||
"@vssue/api-bitbucket-v2": "^0.7.0", | ||
"@vssue/api-github-v3": "^0.7.0", | ||
"@vssue/api-github-v4": "^0.7.0", | ||
"@vssue/api-gitlab-v4": "^0.7.0", | ||
"@vssue/api-bitbucket-v2": "^0.7.1", | ||
"@vssue/api-github-v3": "^0.7.1", | ||
"@vssue/api-github-v4": "^0.7.1", | ||
"@vssue/api-gitlab-v4": "^0.7.1", | ||
"@vue/babel-preset-app": "^3.2.0", | ||
@@ -79,3 +79,3 @@ "@vue/cli-plugin-babel": "^3.2.0", | ||
}, | ||
"gitHead": "90ffd64eba9253055d2b5e094bff88b659aa2790" | ||
"gitHead": "91b08a43aa8deb7e23aaf21e62403370d1482515" | ||
} |
@@ -216,3 +216,3 @@ import { Vue, Component, Watch } from 'vue-property-decorator' | ||
title: issueTitle, | ||
content: this.options.issueContent({ | ||
content: await this.options.issueContent({ | ||
options: this.options, | ||
@@ -219,0 +219,0 @@ url: getCleanURL(window.location.href), |
@@ -1,3 +0,1 @@ | ||
import { Vssue } from './vssue' | ||
export namespace VssueAPI { | ||
@@ -4,0 +2,0 @@ export type Options = { |
@@ -19,3 +19,3 @@ import Vue, { PluginObject } from 'vue' | ||
proxy: string | ((url: string) => string) | ||
issueContent: ((param: { options: Vssue.Options, url: string }) => string) | ||
issueContent: ((param: { options: Vssue.Options, url: string }) => string | Promise<string>) | ||
} | ||
@@ -22,0 +22,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
658137
7102
Updated@vssue/utils@^0.7.1