Skip to content

Commit b0ac754

Browse files
author
Andrew Omondi
committed
Updates version and release notes
1 parent 6300255 commit b0ac754

File tree

12 files changed

+26
-22
lines changed

12 files changed

+26
-22
lines changed

packages/abstractions/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/kiota-abstractions",
3-
"version": "1.0.0-preview.47",
3+
"version": "1.0.0-preview.48",
44
"description": "Core abstractions for kiota generated libraries in TypeScript and JavaScript",
55
"main": "dist/cjs/src/index.js",
66
"module": "dist/es/src/index.js",

packages/abstractions/src/serialization/untypedBoolean.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ export interface UntypedBoolean extends UntypedNode {
55
}
66

77
export function isUntypedBoolean(node: UntypedNode): node is UntypedBoolean {
8-
return typeof (node as UntypedBoolean)?.value === "boolean";
8+
const proposedNode = node as UntypedBoolean;
9+
return proposedNode && typeof proposedNode.value === "boolean";
910
}
1011

1112
export function createUntypedBoolean(value: boolean): UntypedBoolean {

packages/abstractions/src/serialization/untypedNumber.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ export interface UntypedNumber extends UntypedNode {
55
}
66

77
export function isUntypedNumber(node: UntypedNode): node is UntypedNumber {
8-
return typeof (node as UntypedNumber)?.value === "number";
8+
const proposedNode = node as UntypedNumber;
9+
return proposedNode && typeof proposedNode.value === "number";
910
}
1011

1112
export function createUntypedNumber(value: number): UntypedNumber {

packages/abstractions/src/serialization/untypedObject.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ export interface UntypedObject extends UntypedNode {
55
}
66

77
export function isUntypedObject(node: UntypedNode): node is UntypedObject {
8-
const value = (node as UntypedObject)?.value;
8+
const proposedNode = node as UntypedObject;
99
return (
10-
value instanceof Object &&
11-
value instanceof Array === false &&
12-
Object.values(value).every((item) => isUntypedNode(item))
10+
proposedNode &&
11+
proposedNode.value instanceof Object &&
12+
proposedNode.value instanceof Array === false &&
13+
Object.values(proposedNode.value).every((item) => isUntypedNode(item))
1314
);
1415
}
1516

packages/abstractions/src/serialization/untypedString.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ export interface UntypedString extends UntypedNode {
55
}
66

77
export function isUntypedString(node: UntypedNode): node is UntypedString {
8-
return typeof (node as UntypedString)?.value === "string";
8+
const proposedNode = node as UntypedString;
9+
return proposedNode && typeof proposedNode.value === "string";
910
}
1011

1112
export function createUntypedString(value: string): UntypedString {

packages/authentication/azure/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/kiota-authentication-azure",
3-
"version": "1.0.0-preview.42",
3+
"version": "1.0.0-preview.43",
44
"description": "Authentication provider for Kiota using Azure Identity",
55
"main": "dist/cjs/src/index.js",
66
"module": "dist/es/src/index.js",
@@ -30,7 +30,7 @@
3030
"homepage": "https://github.com/microsoft/kiota-typescript#readme",
3131
"dependencies": {
3232
"@azure/core-auth": "^1.5.0",
33-
"@microsoft/kiota-abstractions": "^1.0.0-preview.47",
33+
"@microsoft/kiota-abstractions": "^1.0.0-preview.48",
3434
"@opentelemetry/api": "^1.7.0",
3535
"tslib": "^2.6.2"
3636
},

packages/authentication/spfx/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/kiota-authentication-spfx",
3-
"version": "1.0.0-preview.37",
3+
"version": "1.0.0-preview.38",
44
"description": "Authentication provider for using Kiota in SPFx solutions",
55
"main": "dist/cjs/src/index.js",
66
"module": "dist/es/src/index.js",
@@ -39,7 +39,7 @@
3939
},
4040
"homepage": "https://github.com/microsoft/kiota-typescript#readme",
4141
"dependencies": {
42-
"@microsoft/kiota-abstractions": "^1.0.0-preview.47",
42+
"@microsoft/kiota-abstractions": "^1.0.0-preview.48",
4343
"@microsoft/sp-http": "^1.15.2",
4444
"@opentelemetry/api": "^1.7.0",
4545
"tslib": "^2.6.2"

packages/http/fetch/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/kiota-http-fetchlibrary",
3-
"version": "1.0.0-preview.46",
3+
"version": "1.0.0-preview.47",
44
"description": "Kiota request adapter implementation with fetch",
55
"keywords": [
66
"Kiota",
@@ -38,7 +38,7 @@
3838
"test:cjs": "mocha 'dist/cjs/test/common/**/*.js' && mocha 'dist/cjs/test/node/**/*.js'"
3939
},
4040
"dependencies": {
41-
"@microsoft/kiota-abstractions": "^1.0.0-preview.47",
41+
"@microsoft/kiota-abstractions": "^1.0.0-preview.48",
4242
"@opentelemetry/api": "^1.7.0",
4343
"guid-typescript": "^1.0.9",
4444
"tslib": "^2.6.2"

packages/serialization/form/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/kiota-serialization-form",
3-
"version": "1.0.0-preview.36",
3+
"version": "1.0.0-preview.37",
44
"description": "Implementation of Kiota Serialization interfaces for URI from encoded",
55
"main": "dist/cjs/src/index.js",
66
"browser": {
@@ -39,7 +39,7 @@
3939
},
4040
"homepage": "https://github.com/microsoft/kiota-typescript#readme",
4141
"dependencies": {
42-
"@microsoft/kiota-abstractions": "^1.0.0-preview.47",
42+
"@microsoft/kiota-abstractions": "^1.0.0-preview.48",
4343
"guid-typescript": "^1.0.9",
4444
"tslib": "^2.6.2"
4545
},

packages/serialization/json/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/kiota-serialization-json",
3-
"version": "1.0.0-preview.47",
3+
"version": "1.0.0-preview.48",
44
"description": "Implementation of Kiota Serialization interfaces for JSON",
55
"main": "dist/cjs/src/index.js",
66
"browser": {
@@ -39,7 +39,7 @@
3939
},
4040
"homepage": "https://github.com/microsoft/kiota-typescript#readme",
4141
"dependencies": {
42-
"@microsoft/kiota-abstractions": "^1.0.0-preview.47",
42+
"@microsoft/kiota-abstractions": "^1.0.0-preview.48",
4343
"guid-typescript": "^1.0.9",
4444
"tslib": "^2.6.2"
4545
},

packages/serialization/multipart/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/kiota-serialization-multipart",
3-
"version": "1.0.0-preview.26",
3+
"version": "1.0.0-preview.27",
44
"description": "Implementation of Kiota Serialization interfaces for multipart form data",
55
"main": "dist/cjs/src/index.js",
66
"module": "dist/es/src/index.js",
@@ -40,7 +40,7 @@
4040
"tslib": "^2.6.2"
4141
},
4242
"devDependencies": {
43-
"@microsoft/kiota-serialization-json": "^1.0.0-preview.47"
43+
"@microsoft/kiota-serialization-json": "^1.0.0-preview.48"
4444
},
4545
"publishConfig": {
4646
"access": "public"

packages/serialization/text/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/kiota-serialization-text",
3-
"version": "1.0.0-preview.44",
3+
"version": "1.0.0-preview.45",
44
"description": "Implementation of Kiota Serialization interfaces for text",
55
"main": "dist/cjs/src/index.js",
66
"browser": {
@@ -39,7 +39,7 @@
3939
},
4040
"homepage": "https://github.com/microsoft/kiota-typescript#readme",
4141
"dependencies": {
42-
"@microsoft/kiota-abstractions": "^1.0.0-preview.47",
42+
"@microsoft/kiota-abstractions": "^1.0.0-preview.48",
4343
"guid-typescript": "^1.0.9",
4444
"tslib": "^2.6.2"
4545
},

0 commit comments

Comments
 (0)