Skip to content

Commit f69c934

Browse files
authored
Merge pull request #1399 from microsoft/andrueastman/typeinconsitency
Fixes `serializeMultipartBody` function signature.
2 parents 39d9778 + d58d949 commit f69c934

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
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.66",
3+
"version": "1.0.0-preview.67",
44
"description": "Core abstractions for kiota generated libraries in TypeScript and JavaScript",
55
"main": "dist/es/src/index.js",
66
"module": "dist/es/src/index.js",

packages/abstractions/src/multipartBody.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ interface MultipartEntry {
9393
serializationCallback?: ModelSerializerFunction<Parsable>;
9494
}
9595

96-
export const serializeMultipartBody = (writer: SerializationWriter, multipartBody: Partial<MultipartBody> = new MultipartBody()): void => {
96+
export const serializeMultipartBody = (writer: SerializationWriter, multipartBody: Partial<MultipartBody> | undefined | null = new MultipartBody()): void => {
9797
if (!writer) {
9898
throw new Error("writer cannot be undefined");
9999
}

packages/authentication/azure/package.json

+1-1
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.61",
3+
"version": "1.0.0-preview.62",
44
"description": "Authentication provider for Kiota using Azure Identity",
55
"main": "dist/es/src/index.js",
66
"module": "dist/es/src/index.js",

packages/authentication/spfx/package.json

+1-1
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.55",
3+
"version": "1.0.0-preview.56",
44
"description": "Authentication provider for using Kiota in SPFx solutions",
55
"main": "dist/es/src/index.js",
66
"module": "dist/es/src/index.js",

packages/bundle/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/kiota-bundle",
3-
"version": "1.0.0-preview.9",
3+
"version": "1.0.0-preview.10",
44
"description": "Kiota Bundle package providing default implementations for client setup for kiota generated libraries in TypeScript and JavaScript",
55
"main": "dist/es/src/index.js",
66
"module": "dist/es/src/index.js",

packages/http/fetch/package.json

+1-1
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.65",
3+
"version": "1.0.0-preview.66",
44
"description": "Kiota request adapter implementation with fetch",
55
"keywords": [
66
"Kiota",

packages/serialization/form/package.json

+1-1
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.54",
3+
"version": "1.0.0-preview.55",
44
"description": "Implementation of Kiota Serialization interfaces for URI from encoded",
55
"main": "dist/es/src/index.js",
66
"browser": {

packages/serialization/json/package.json

+1-1
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.66",
3+
"version": "1.0.0-preview.67",
44
"description": "Implementation of Kiota Serialization interfaces for JSON",
55
"main": "dist/es/src/index.js",
66
"type": "module",

packages/serialization/multipart/package.json

+1-1
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.44",
3+
"version": "1.0.0-preview.45",
44
"description": "Implementation of Kiota Serialization interfaces for multipart form data",
55
"main": "dist/es/src/index.js",
66
"module": "dist/es/src/index.js",

packages/serialization/text/package.json

+1-1
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.63",
3+
"version": "1.0.0-preview.64",
44
"description": "Implementation of Kiota Serialization interfaces for text",
55
"main": "dist/es/src/index.js",
66
"browser": {

packages/test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "test-kiota-typescript-libraries",
33
"description": "Sample Project",
4-
"version": "0.0.1-preview.8",
4+
"version": "0.0.1-preview.9",
55
"main": "index.js",
66
"private": true,
77
"scripts": {

0 commit comments

Comments
 (0)