Merge pull request #5 from digitalocean-labs/fix-credentials-path-in-package.json

fix credentials path
This commit is contained in:
Dillon LeDoux 2025-09-09 09:54:12 -05:00 committed by GitHub
commit f7fa0abb18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -3,6 +3,7 @@ import { INodeType, INodeTypeDescription, NodeConnectionType } from 'n8n-workflo
import { textFields, textOperations } from './TextDescription'; import { textFields, textOperations } from './TextDescription';
const baseURL = 'https://inference.do-ai.run/v1'; const baseURL = 'https://inference.do-ai.run/v1';
const version = '1.0.2';
export class ServerlessInference implements INodeType { export class ServerlessInference implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {
@ -31,7 +32,7 @@ export class ServerlessInference implements INodeType {
headers: { headers: {
Accept: 'application/json', Accept: 'application/json',
'Content-Type': 'application/json', 'Content-Type': 'application/json',
'User-Agent': 'Gradient/n8n/1.0.1', 'User-Agent': `Gradient/n8n/${version}`,
}, },
}, },
properties: [ properties: [

View file

@ -1,6 +1,6 @@
{ {
"name": "@digitalocean/n8n-nodes-digitalocean-gradient-serverless-inference", "name": "@digitalocean/n8n-nodes-digitalocean-gradient-serverless-inference",
"version": "1.0.1", "version": "1.0.2",
"description": "This is an n8n community node for the DigitalOcean Gradient™ AI Platform Serverless Inference API", "description": "This is an n8n community node for the DigitalOcean Gradient™ AI Platform Serverless Inference API",
"keywords": [ "keywords": [
"n8n-community-node-package" "n8n-community-node-package"
@ -33,10 +33,10 @@
"n8n": { "n8n": {
"n8nNodesApiVersion": 1, "n8nNodesApiVersion": 1,
"credentials": [ "credentials": [
"dist/credentials/DigitalOceanServerlessInference.credentials.js" "dist/credentials/DigitalOceanServerlessInferenceApi.credentials.js"
], ],
"nodes": [ "nodes": [
"dist/nodes/ServerlessInferenceNode/ServerlessInference.node.js" "dist/nodes/ServerlessInference/DigitalOceanGradientServerlessInference.node.ts"
] ]
}, },
"devDependencies": { "devDependencies": {